Protocols

The following protocols are available globally.

  • Protocol defining the operations required to respond to PingAM push notifications. This protocol is implemented by PingAMPushResponder and can be mocked for testing purposes.

    See more

    Declaration

    Swift

    public protocol PingAMPushResponderType : Sendable
  • Protocol that defines the required behaviour for push notification handlers.

    A push handler is responsible for determining whether it can process incoming push notifications for a specific platform, parsing the received payload, and delegating registration and response operations to the appropriate network responder.

    Implementations may interact with platform-specific services (e.g., PingAM) and are expected to provide detailed logging and error handling. All methods should be thread-safe and support concurrent usage from Swift concurrency contexts.

    See more

    Declaration

    Swift

    public protocol PushHandler : AnyObject, Sendable
  • Protocol for Push-specific storage operations. Extends the base storage capabilities with Push-specific functionality.

    Implementations of this protocol must be thread-safe and handle concurrent access properly.

    See more

    Declaration

    Swift

    public protocol PushStorage : Sendable