The in-app message delegate allows you to control the display of the Braze in-app message. For more detailed information on in-app message behavior, including when and how the delegate is used, see the documentation for the ABKInAppMessageDisplayChoice enum above for more detailed information.
This delegate is for those who are using the Core subspec and not integrating the In-App Message subspec. If you are using the In-App Message subspec, please use ABKInAppMessageUIDelegate.
Braze Public API: ABKInAppMessageControllerDelegate
- (ABKInAppMessageDisplayChoice) beforeControlMessageImpressionLogged: |
|
(ABKInAppMessage *) |
inAppMessage |
|
|
optional |
- Parameters
-
inAppMessage | The control in-app message object being offered to the delegate method. |
- Returns
- ABKInAppMessageDisplayChoice The control in-app message impression logging choice. For details refer to the documentation regarding the ENUM ABKInAppMessageDisplayChoice above. Logging a control message impression is an equivalent of displaying the message, except that no actual display occurs.
This delegate method defines the timing of when the control in-app message impression event should be logged: now, later, discarded, or re-enqueued. Logging a control message impression is an equivalent of displaying the message, except that no actual display occurs.
If there are situations where you would not want the control in-app message impression to be logged, you can use this delegate to delay or discard it.