#import <ABKInAppMessageControllerDelegate.h>
Instance Methods | |
(ABKInAppMessageDisplayChoice) | - beforeInAppMessageDisplayed: |
(ABKInAppMessageDisplayChoice) | - beforeControlMessageImpressionLogged: |
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.
|
optional |
inAppMessage | The control in-app message object being offered to the delegate method. |
This delegate method defines the timing of when the control in-app message impression event should be logged: now, later, or discarded. 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.
|
optional |
inAppMessage | The in-app message object being offered to the delegate method. |
This delegate method defines whether the in-app message will be displayed now, displayed later, or discarded.
If there are situations where you would not want the in-app message to appear (such as during a full screen game or on a loading screen), you can use this delegate to delay or discard pending in-app message messages.