Protocols

The following protocols are available globally.

  • In-app message adapter protocol. An adapter is responsible for displaying a particular type of in-app message.

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessageAdapterProtocol <NSObject>

    Swift

    protocol UAInAppMessageAdapterProtocol : NSObjectProtocol
  • Protocol for customizing in-app message asset cache policy.

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessageCachePolicyDelegate <NSObject>

    Swift

    protocol UAInAppMessageCachePolicyDelegate : NSObjectProtocol
  • Protocol for extending in-app message asset fetching.

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessagePrepareAssetsDelegate <NSObject>

    Swift

    protocol UAInAppMessagePrepareAssetsDelegate : NSObjectProtocol
  • Protocol for coordinating the display of in-app messages with the in-app message manager. Useful for putting time or count-based back pressure on message display, or for overriding the default coordination behavior for particular message types.

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessageDisplayCoordinator <NSObject>

    Swift

    protocol UAInAppMessageDisplayCoordinator : NSObjectProtocol
  • Delegate protocol for receiving in-app messaging related callbacks.

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessagingDelegate <NSObject>

    Swift

    protocol UAInAppMessagingDelegate : NSObjectProtocol
  • Delegate protocol for receiving in-app scene related callbacks.

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessageSceneDelegate <NSObject>

    Swift

    protocol UAInAppMessageSceneDelegate : NSObjectProtocol
  • The in-app message style protocol.

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessageStyleProtocol <NSObject>

    Swift

    protocol UAInAppMessageStyleProtocol : NSObjectProtocol
  • A protocol for extending the default conversion between legacy landing pages and scheduled HTML message landing pages.

    See more

    Declaration

    Objective-C

    @protocol UALandingPageBuilderExtender <NSObject>

    Swift

    protocol UALandingPageBuilderExtender : NSObjectProtocol
  • A delegate protocol for bridging legacy in-app messages with the v2 infrastructure.

    See more

    Declaration

    Objective-C

    @protocol UALegacyInAppMessageFactoryDelegate <NSObject>

    Swift

    protocol UALegacyInAppMessageFactoryDelegate : NSObjectProtocol
  • A protocol for extending the default conversion between legacy in-app messages and v2 scheduled messages.

    See more

    Declaration

    Objective-C

    @protocol UALegacyInAppMessageBuilderExtender <NSObject>

    Swift

    protocol UALegacyInAppMessageBuilderExtender : NSObjectProtocol
  • An protocol that defines the minimal functionality of a valid action predicate when loading a actions from a plist.

    See more

    Declaration

    Objective-C

    @protocol UAActionPredicateProtocol <NSObject>

    Swift

    protocol UAActionPredicateProtocol : NSObjectProtocol
  • A standard protocol for handling commands from the native brige.

    See more

    Declaration

    Objective-C

    @protocol UAJavaScriptCommandDelegate <NSObject>

    Swift

    protocol UAJavaScriptCommandDelegate : NSObjectProtocol
  • Delegate methods to support the Airship native bridge.

    See more

    Declaration

    Objective-C

    @protocol UANativeBridgeDelegate <NSObject>

    Swift

    protocol UANativeBridgeDelegate : NSObjectProtocol
  • Delegate to extend the native bridge.

    See more

    Declaration

    Objective-C

    @protocol UANativeBridgeExtensionDelegate <NSObject>

    Swift

    protocol UANativeBridgeExtensionDelegate : NSObjectProtocol
  • Implement this protocol and add as a [UAPush registrationDelegate] to receive registration success and failure callbacks.

    See more

    Declaration

    Objective-C

    @protocol UARegistrationDelegate <NSObject>

    Swift

    protocol UARegistrationDelegate : NSObjectProtocol
  • Protocol to be implemented by push notification clients. All methods are optional.

    See more

    Declaration

    Objective-C

    @protocol UAPushNotificationDelegate <NSObject>

    Swift

    protocol UAPushNotificationDelegate : NSObjectProtocol
  • Protocol for bridging push provider functionality with the SDK.

    See more

    Declaration

    Objective-C

    @protocol UAPushProviderDelegate <NSObject>

    Swift

    protocol UAPushProviderDelegate : NSObjectProtocol
  • Delegate protocol for accepting and rejecting URLs.

    See more

    Declaration

    Objective-C

    @protocol UAURLAllowListDelegate <NSObject>

    Swift

    protocol UAURLAllowListDelegate : NSObjectProtocol
  • Protocol to be implemented by deep link handlers.

    See more

    Declaration

    Objective-C

    @protocol UADeepLinkDelegate <NSObject>

    Swift

    protocol UADeepLinkDelegate : NSObjectProtocol
  • Delegate protocol for receiving callbacks related to message center.

    See more

    Declaration

    Objective-C

    @protocol UAMessageCenterDisplayDelegate <NSObject>

    Swift

    protocol UAMessageCenterDisplayDelegate : NSObjectProtocol
  • Protocol for delegating message list behavior.

    See more

    Declaration

    Objective-C

    @protocol UAMessageCenterListViewDelegate <NSObject>

    Swift

    protocol UAMessageCenterListViewDelegate
  • Protocol for delegating the handling of message view loading and native bridge events.

    See more

    Declaration

    Objective-C

    @protocol UAMessageCenterMessageViewDelegate <NSObject>

    Swift

    protocol UAMessageCenterMessageViewDelegate : NSObjectProtocol