class UI::NotificationsCatalog

Defined in:

ui/notifications.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(application_name : String, bundle_identifier : String | Nil = nil, categories : Array(NotificationCategory) | Nil = nil) #

[View source]

Instance Method Detail

def add_category(category : NotificationCategory) : NotificationCategory #

[View source]
def add_category(identifier : String, actions : Array(NotificationAction) = [] of NotificationAction, intent_identifiers : Array(String) = [] of String, options : Array(String) = [] of String, is_enabled : Bool = true, &block : NotificationCategory -> Nil) : NotificationCategory #

[View source]
def add_category(identifier : String, actions : Array(NotificationAction) = [] of NotificationAction, intent_identifiers : Array(String) = [] of String, options : Array(String) = [] of String, is_enabled : Bool = true) : NotificationCategory #

[View source]
def application_name : String #

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

[View source]
def bundle_identifier : String | Nil #

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

[View source]
def categories : Array(NotificationCategory) #

[View source]
def categories=(categories : Array(NotificationCategory)) #

[View source]
def clear : Nil #

[View source]
def export_manifest : String #

[View source]
def export_swift_scaffold : String #

[View source]
def find_category(identifier : String) : NotificationCategory | Nil #

[View source]
def remove_category(identifier : String) : Bool #

[View source]