IIn App Message Html
IInAppMessageHtml is the base model interface for all Html In-App Messages.
HTML In-App Messages are defined as In-App Messages that can take up the entire screen and/or 'block' the user from interacting with the app until the message is dismissed.
Functions
Gets where to find the pre-fetched remote assets specified in setLocalPrefetchedAssetPaths.
Returns a path to remote assets that can be pre-fetched. To point this in-app message to pre-fetched assets, use .setLocalPrefetchedAssetPaths
Logs a click on a button in your html in-app message.
Logs a display failure on this in-app message. Failures can only be logged once per in-app message instance and should be logged as early as possible in the display process.
Logs an impression on this in-app message. Impressions may only be logged once per in-app message instance.
Should be called on the in-app message once it is no longer being displayed, to allow it to perform any cleanup or trigger further actions.
Convenience method that calls setClickBehavior(clickAction, null)
.
Sets the click action and/or Uri of this in-app message.
Instruct this in-app message where to find pre-fetched assets for remote assets specified in .getRemoteAssetPathsForPrefetch.
Properties
The android.graphics.Color background color on this in-app message.
Gets the duration of this in-app message. Only valid for DismissType.AUTO_DISMISS.
The icon color (android.graphics.Color) of this in-app message. This is the color of the icon itself (not the background).
The local URL of the assets. This location corresponds to the unzipped file system directory of the remote assets file given by IInAppMessageZippedAssetHtml.assetsZipRemoteUrl.