NotificationCategory

open class NotificationCategory: NSObject, Codable

A class that represents a category for notifications.

Since

4.11.0
  • The ID for the category.

    Declaration

    Swift

    open internal(set) var categoryId: Int64
  • The custom type to filter the notifications.

    Declaration

    Swift

    open var customType: String?
  • The name of the category.

    Declaration

    Swift

    open internal(set) var name: String
  • If true, the category is default.

    Declaration

    Swift

    open internal(set) var isDefault: Bool
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws