State

public enum State : Sendable

State for Notification Service with processNotification(forUserInfo:) and retry(userInfo:).

  • This state is returned when the push message is not supported by the SDK. Push message will be returned.

    Declaration

    Swift

    case unsupportedPushContent(_: [AnyHashable : Any]?)
  • This state is returned when the received push message processing is successfully completed.

    Declaration

    Swift

    case completed
  • This state is returned when the server message is received and processed.

    Declaration

    Swift

    case serverMessage(_: ServerMessage?, _: String?)

    Parameters

    serverMessage

    The server message is received and processed.

    digitalCardID

    The ID of the DigitalCard that performs the action specified in the server message.

  • This state is returned when an error occurred.

    Declaration

    Swift

    case errorEncountered(_: NotificationService.Error, userInfo: [AnyHashable : Any])