Protocols
The following protocols are available globally.
-
Protocol defining the operations required to respond to PingAM push notifications. This protocol is implemented by
See morePingAMPushResponderand can be mocked for testing purposes.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 moreDeclaration
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 moreDeclaration
Swift
public protocol PushStorage : Sendable
View on GitHub
Protocols Reference