Retrieve HTML in-app content for a specified in-app message.
The message from which to get HTML content.
A Promise that resolves to an IterableHtmlInAppContent object.
Retrieves the current user's list of in-app messages designated for the mobile inbox and stored in the local queue.
This method does not cause the application to immediately check for new in-app messages on the server, since the SDK keeps the message list in sync.
A Promise that resolves to an array of messages marked as saveToInbox
.
Retrieve the current user's list of in-app messages stored in the local queue.
This method does not cause the application to immediately check for new in-app messages on the server, since the SDK keeps the message list in sync.
A Promise that resolves to an array of in-app messages.
Remove the specified message from the current user's message queue.
This method calls the inAppConsume
method internally.
The in-app message to remove (an IterableInAppMessage object)
The message's location—whether or not it's in a mobile inbox. (an IterableInAppLocation enum)
How the in-app message was deleted (an IterableInAppDeleteSource enum)
Pause or unpause the automatic display of incoming in-app messages
If set to false
, the SDK will immediately retrieve and process in-app messages from the message queue.
The default value of isAutoDisplayPaused
is false
(in the native code).
Whether the automatic displaying should be paused
Set the read status of specified in-app message.
The message for which to set the status.
Whether the in-app message was read.
Renders an in-app message and consumes it from the user's message queue if necessary.
If you skip showing an in-app message when it arrives, you can show it at another time by calling this method.
The message to show (an IterableInAppMessage object)
Whether or not the message should be consumed from the user's message queue after being shown. This should be defaulted to true.
A Promise that resolves to the URL of the button or link the user tapped to close the in-app message.
Manages in-app messages for the current user.
This class provides methods to interact with in-app messages, including retrieving messages, displaying messages, removing messages, setting read status, and more.
The
inAppManager
property of anIterable
instance is set to an instance of this class.