UnbluLocalNotification

struct UnbluLocalNotification

An object representing a local notification that will be used to construct and schedule a UNNotification

  • The identifier Unblu will use when creating a UNNotificationRequest

    Declaration

    Swift

    let identifier: String
  • The title Unblu will use when creating a UNNotification

    Declaration

    Swift

    let title: String
  • The body Unblu will use when creating a UNNotification

    Declaration

    Swift

    let body: String
  • The threadIdentifier Unblu will use when creating a UNNotification

    Declaration

    Swift

    let threadId: String
  • The sound Unblu will use when creating a UNNotification

    Declaration

    Swift

    let sound: UNNotificationSound
  • The callid Unblu will use when creating a UNNotification

    Declaration

    Swift

    let callId: String?
  • Creates the object

    Declaration

    Swift

    init(identifier: String, title: String, body: String, threadId: String, sound: UNNotificationSound, callId: String?)

    Parameters

    identifier

    The identifier Unblu will use when creating a UNNotificationRequest

    title

    The title Unblu will use when creating a UNNotification

    body

    The body Unblu will use when creating a UNNotification

    threadId

    The threadIdentifier Unblu will use when creating a UNNotification

    sound

    The sound Unblu will use when creating a UNNotification