class UI::NotificationRequest

Defined in:

ui/notifications.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(title : String, body : String, identifier : String | Nil = nil, subtitle : String | Nil = nil, delay_seconds : Float64 = 0.25, repeats : Bool = false, sound : Bool = true, badge : Int32 | Nil = nil, thread_id : String | Nil = nil) #

[View source]

Instance Method Detail

def badge : Int32 | Nil #

[View source]
def badge=(badge : Int32 | Nil) #

[View source]
def body : String #

[View source]
def body=(body : String) #

[View source]
def delay_seconds : Float64 #

[View source]
def delay_seconds=(delay_seconds : Float64) #

[View source]
def effective_delay_seconds : Float64 #

[View source]
def identifier : String #

[View source]
def identifier=(identifier : String) #

[View source]
def repeats : Bool #

[View source]
def repeats=(repeats : Bool) #

[View source]
def sound : Bool #

[View source]
def sound=(sound : Bool) #

[View source]
def subtitle : String | Nil #

[View source]
def subtitle=(subtitle : String | Nil) #

[View source]
def thread_id : String | Nil #

[View source]
def thread_id=(thread_id : String | Nil) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]