public interface IInAppMessageHtml extends IInAppMessage
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.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalAssetsDirectoryUrl()
Gets the local URL of the assets.
|
boolean |
logButtonClick(java.lang.String buttonId)
Logs a click on a button in your html in-app message.
|
void |
setLocalAssetsDirectoryUrl(java.lang.String assetsLocalDirectoryUrl)
Sets the local URL of the assets directory for the html In-App Message.
|
getAnimateIn, getAnimateOut, getBackgroundColor, getClickAction, getCropType, getDismissType, getDurationInMilliseconds, getExpirationTimestamp, getExtras, getIcon, getIconBackgroundColor, getIconColor, getLocalPrefetchedAssetPaths, getMessage, getMessageTextAlign, getMessageTextColor, getMessageType, getOpenUriInWebView, getOrientation, getRemoteAssetPathsForPrefetch, getUri, isControl, logClick, logDisplayFailure, logImpression, onAfterClosed, setAnimateIn, setAnimateOut, setBackgroundColor, setClickAction, setClickAction, setCropType, setDismissType, setDurationInMilliseconds, setExpirationTimestamp, setExtras, setIcon, setIconBackgroundColor, setIconColor, setLocalPrefetchedAssetPaths, setMessage, setMessageTextAlign, setMessageTextColor, setOpenUriInWebView, setOrientation
forJsonPut
void setLocalAssetsDirectoryUrl(java.lang.String assetsLocalDirectoryUrl)
assetsLocalDirectoryUrl
- Local file URL for the unpacked assets directory.java.lang.String getLocalAssetsDirectoryUrl()
boolean logButtonClick(java.lang.String buttonId)
Button clicks may only be logged once per in-app message.
buttonId
- the id of the button