Protocols
The following protocols are available globally.
-
Airship action. Actions can be registered in the
See moreActionRegistry
and ran through theActionRunner
.Declaration
Swift
public protocol AirshipAction : AnyObject, Sendable
-
Protocol for customizing an Airship embedded view with a style
See moreDeclaration
Swift
public protocol AirshipEmbeddedViewStyle
-
Protocol used by Airship to log all log messages within the SDK. A custom log handlers should be set on
See moreAirship.logHandler
beforeAirship.takeOff
.Declaration
Swift
@objc(UAirshipLogHandler) public protocol AirshipLogHandler
-
Analytics protocol
See moreDeclaration
Swift
@objc(UAAnalyticsProtocol) public protocol AirshipBaseAnalyticsProtocol : Sendable
-
Airship Analytics
See moreDeclaration
Swift
public protocol AirshipAnalyticsProtocol : AirshipBaseAnalyticsProtocol
-
Airship Channel protocol.
See moreDeclaration
Swift
@objc(UAChannelProtocol) public protocol AirshipBaseChannelProtocol : Sendable
-
Airship Channel protocol.
See moreDeclaration
Swift
public protocol AirshipChannelProtocol : AirshipBaseChannelProtocol
-
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 moreDeclaration
Swift
@objc(UAContactProtocol) public protocol AirshipBaseContactProtocol : 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 moreDeclaration
Swift
public protocol AirshipContactProtocol : AirshipBaseContactProtocol
-
Protocol to be implemented by deep link handlers.
See moreDeclaration
Swift
@objc(UADeepLinkDelegate) public protocol DeepLinkDelegate
-
A standard protocol for handling commands from the NativeBridge..
See moreDeclaration
Swift
@objc(UAJavaScriptCommandDelegate) public protocol JavaScriptCommandDelegate
-
Airship locale manager.
See moreDeclaration
Swift
@objc(UALocaleManagerProtocol) public protocol AirshipLocaleManagerProtocol : Sendable
-
Action runner used in the
See moreNativeBridge
.Declaration
Swift
public protocol NativeBridgeActionRunner
-
Delegate to extend the native bridge.
See moreDeclaration
Swift
@objc(UANativeBridgeExtensionDelegate) public protocol NativeBridgeExtensionDelegate
-
Permissions manager delegate. Allows for extending permission gathering.
See moreDeclaration
Swift
@objc(UAAirshipPermissionDelegate) public protocol AirshipPermissionDelegate
-
Protocol to be implemented by push notification clients. All methods are optional.
See moreDeclaration
Swift
@objc(UAPushNotificationDelegate) public protocol PushNotificationDelegate : NSObjectProtocol
-
Airship Push protocol.
See moreDeclaration
Swift
@objc(UAPushProtocol) public protocol AirshipBasePushProtocol : Sendable
-
Airship Push protocol.
See moreDeclaration
Swift
public protocol AirshipPushProtocol : AirshipBasePushProtocol
-
Implement this protocol and add as a Push.registrationDelegate to receive registration success and failure callbacks.
See moreDeclaration
Swift
@objc(UARegistrationDelegate) public protocol RegistrationDelegate : NSObjectProtocol
-
Delegate for overriding the default SMS validation
See moreDeclaration
Swift
public protocol SMSValidatorDelegate
-
Delegate protocol for accepting and rejecting URLs.
See moreDeclaration
Swift
@objc(UAURLAllowListDelegate) public protocol URLAllowListDelegate