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 InAppMessageAdapterProtocol : NSObjectProtocol
  • Protocol for customizing in-app message asset cache policy.

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessageCachePolicyDelegate <NSObject>

    Swift

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

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessagePrepareAssetsDelegate <NSObject>

    Swift

    protocol InAppMessagePrepareAssetsDelegate : 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 InAppMessageDisplayCoordinator : NSObjectProtocol
  • Delegate protocol for receiving in-app messaging related callbacks.

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessagingDelegate <NSObject>

    Swift

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

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessageSceneDelegate <NSObject>

    Swift

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

    See more

    Declaration

    Objective-C

    @protocol UAInAppMessageStyleProtocol <NSObject>

    Swift

    protocol InAppMessageStyleProtocol : 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 LandingPageBuilderExtender : NSObjectProtocol
  • A delegate protocol for bridging legacy in-app messages with the v2 infrastructure.

    See more

    Declaration

    Objective-C

    @protocol UALegacyInAppMessageFactoryDelegate <NSObject>

    Swift

    protocol LegacyInAppMessageFactoryDelegate : 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 LegacyInAppMessageBuilderExtender : NSObjectProtocol
  • Action protocol, which defines a modular unit of work.

    See more

    Declaration

    Objective-C

    @protocol UAAction <NSObject>

    Swift

    protocol Action : 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 ActionPredicateProtocol : NSObjectProtocol
  • Base class for main SDK components.

    See more

    Declaration

    Objective-C

    @protocol UAComponent <NSObject>

    Swift

    protocol Component : NSObjectProtocol
  • Defines an Airship event.

    See more

    Declaration

    Objective-C

    @protocol UAEvent <NSObject>

    Swift

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

    See more

    Declaration

    Objective-C

    @protocol UAJavaScriptCommandDelegate <NSObject>

    Swift

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

    See more

    Declaration

    Objective-C

    @protocol UANativeBridgeExtensionDelegate <NSObject>

    Swift

    protocol NativeBridgeExtensionDelegate : NSObjectProtocol