Protocols
The following protocols are available globally.
-
Represents an action source. Can be used to get more information about the context of the action, such as the full push payload, if coming from a push.
Declaration
Objective-C
@protocol BatchUserActionSource
-
BatchDeeplinkDelegate is the protocol to adopt when you want to set a deeplink delegate on the SDK.
See Batch.deeplinkDelegate for more info.
See moreDeclaration
Objective-C
@protocol BatchDeeplinkDelegate
-
Protocol to access data associated with a dispatched event.
See moreDeclaration
Objective-C
@protocol BatchEventDispatcherPayload
-
Represents a dispatcher that can be registered to receive events.
See moreDeclaration
Objective-C
@protocol BatchEventDispatcherDelegate
-
Implement this protocol if you want to be notified of what happens to the messaging view (for example, perform some analytics on show/hide).
See moreDeclaration
Objective-C
@protocol BatchMessagingDelegate
-
Represents an In-App Message content This protocol itself isn’t really useful: you will need to safely cast it to an instance, such as BatchInterstitialMessageContent or BatchAlertMessageContent
Declaration
Objective-C
@protocol BatchInAppMessageContent
-
Protocol representing a Batch Messaging VC.
See moreDeclaration
Objective-C
@protocol BatchMessagingViewController