class

WinNotification::Settings

Inherits JSON::Serializable < Reference < Object

sources.windows セクション(仕様書 5 章)。

Constants

POLLING_INTERVAL_RANGE = 100..5000

Constructors

from_section(section : JSON::Any | Nil) : Settings
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

validate(section : JSON::Any | Nil) : Array(String)

設定 GUI と起動時の検証で使う。エラーメッセージの配列を返し、空なら妥当とみなす。

Source

Instance methods

enabled
Source
enabled=(enabled : Bool)
Source
polling_interval_ms
Source
polling_interval_ms=(polling_interval_ms : Int32)
Source