struct

XSOverlay::NotificationObject

Inherits JSON::Serializable < Struct < Value < Object

XSOverlay の通知オブジェクト。

Constructors

from_message(message : Notify::Message) : NotificationObject

中立形式からの変換。 コアはそのまま対応づけ、表示ヒントの height と opacity は XSOverlay が解釈できるため反映する。

Source
new(title : String, content : String, timeout : Float64, height : Float64, opacity : Float64, volume : Float64, audio_path : String, use_base64_icon : Bool, icon : String, source_app : String, type : Int32 = 1)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

audio_path
Source
content
Source
height
Source
icon
Source
opacity
Source
source_app
Source
timeout
Source
title
Source
type

1 は通常の通知。2 のメディアプレイヤー連携は本ツールの対象外とする。

Source
use_base64_icon
Source
volume
Source