Configure Marketing Cloud Engagement
Runtime Toggles
Listen for Events
Track View States
Prevent or Delay Display
Customize Fonts
Set the Status Bar Color
Button Action Methods
Event Tracking
Handle URLs
Data Protection and Privacy
Changelog
Use the didShowMessage and didCloseMessage callback methods to help manage the view state of your app. In-app messages are shown in an activity controlled by the SDK within the activity stack for your app. Your app is required to respond to a view appearing or disappearing.
didShowMessage is invoked when the in-app message is initially presented.
didCloseMessage is invoked after the user closes the message and includes the close reason.
Implement these methods as part of your event listener. See Listen for Events.