UnbluLocalNotification

public 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

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public let callId: String?
  • Creates the object

    Declaration

    Swift

    public 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