NotificationCategory
@objc(SBDNotificationCategory)
open class NotificationCategory : NSObject, Codable
A class that represents a category for notifications.
Since
4.11.0-
The ID for the category.
Declaration
Swift
@objc open internal(set) var categoryId: Int64 { get }
-
The custom type to filter the notifications.
Declaration
Swift
@objc open var customType: String? { get }
-
The name of the category.
Declaration
Swift
@objc open internal(set) var name: String { get }
-
If true, the category is default.
Declaration
Swift
@objc open internal(set) var isDefault: Bool { get }
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws