Protocols

The following protocols are available globally.

  • Airship action. Actions can be registered in the ActionRegistry and ran through the ActionRunner.

    See more

    Declaration

    Swift

    public protocol AirshipAction : AnyObject, Sendable
  • Protocol for customizing an Airship embedded view with a style

    See more

    Declaration

    Swift

    public protocol AirshipEmbeddedViewStyle : Sendable
  • Protocol used by Airship to log all log messages within the SDK. A custom log handlers should be set on AirshipConfig.logHandler.

    See more

    Declaration

    Swift

    public protocol AirshipLogHandler : Sendable
  • Analytics protocol

    See more

    Declaration

    Swift

    public protocol AirshipAnalyticsProtocol : AnyObject, Sendable
  • Airship Channel protocol.

    See more

    Declaration

    Swift

    public protocol AirshipChannelProtocol : AnyObject, Sendable
  • Airship contact. A contact is distinct from a channel and represents a “user” within Airship. Contacts may be named and have channels associated with it.

    See more

    Declaration

    Swift

    public protocol AirshipContactProtocol : AnyObject, Sendable
  • Protocol to be implemented by deep link handlers.

    See more

    Declaration

    Swift

    public protocol DeepLinkDelegate : AnyObject, Sendable
  • A standard protocol for handling commands from the NativeBridge..

    See more

    Declaration

    Swift

    public protocol JavaScriptCommandDelegate : AnyObject, Sendable
  • Airship locale manager.

    See more

    Declaration

    Swift

    public protocol AirshipLocaleManagerProtocol : AnyObject, Sendable
  • Action runner used in the NativeBridge.

    See more

    Declaration

    Swift

    public protocol NativeBridgeActionRunner : Sendable
  • Delegate to extend the native bridge.

    See more

    Declaration

    Swift

    public protocol NativeBridgeExtensionDelegate : AnyObject
  • Permissions manager delegate. Allows for extending permission gathering.

    See more

    Declaration

    Swift

    public protocol AirshipPermissionDelegate
  • Protocol to be implemented by push notification clients. All methods are optional.

    See more

    Declaration

    Swift

    public protocol PushNotificationDelegate : AnyObject, Sendable
  • Airship Push protocol.

    See more

    Declaration

    Swift

    public protocol AirshipPushProtocol : AnyObject, Sendable
  • Implement this protocol and add as a Push.registrationDelegate to receive registration success and failure callbacks.

    See more

    Declaration

    Swift

    public protocol RegistrationDelegate : AnyObject
  • Delegate for overriding the default SMS validation

    See more

    Declaration

    Swift

    public protocol SMSValidatorDelegate : Sendable
  • Delegate protocol for accepting and rejecting URLs.

    See more

    Declaration

    Swift

    public protocol URLAllowListDelegate : Sendable