public abstract class InAppMessageHtmlBase extends InAppMessageBase implements IInAppMessageHtml
ANIMATE_IN, ANIMATE_OUT, CROP_TYPE, INAPP_MESSAGE_DURATION_DEFAULT_MILLIS, INAPP_MESSAGE_DURATION_MIN_MILLIS, IS_CONTROL, mBrazeManager, mCropType, MESSAGE_TEXT_ALIGN, mInAppMessageDarkThemeWrapper, mJsonObject, mMessageTextAlign, mOpenUriInWebview, OPEN_URI_IN_WEBVIEW, TYPE| Modifier | Constructor and Description | 
|---|---|
| protected  | InAppMessageHtmlBase() | 
|   | InAppMessageHtmlBase(org.json.JSONObject object,
                    IBrazeManager appboyManager) | 
| 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 | onAfterClosed()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. | 
| void | setLocalAssetsDirectoryUrl(java.lang.String assetsLocalDirectoryUrl)Sets the local URL of the assets directory for the html In-App Message. | 
| void | setLocalPrefetchedAssetPaths(java.util.Map<java.lang.String,java.lang.String> remotePathToLocalAssetMap)The base In-App Message class does not have
 assets of its own. | 
enableDarkTheme, forJsonPut, getAnimateIn, getAnimateOut, getBackgroundColor, getClickAction, getCropType, getDismissType, getDurationInMilliseconds, getExpirationTimestamp, getExtras, getIcon, getIconBackgroundColor, getIconColor, getLocalPrefetchedAssetPaths, getMessage, getMessageTextAlign, getMessageTextColor, getOpenUriInWebView, getOrientation, getRemoteAssetPathsForPrefetch, getUri, isControl, logClick, logDisplayFailure, logImpression, setAnimateIn, setAnimateOut, setBackgroundColor, setClickAction, setClickAction, setCropType, setDismissType, setDurationInMilliseconds, setExpirationTimestamp, setExtras, setIcon, setIconBackgroundColor, setIconColor, setMessage, setMessageTextAlign, setMessageTextColor, setOpenUriInWebView, setOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnimateIn, getAnimateOut, getBackgroundColor, getClickAction, getCropType, getDismissType, getDurationInMilliseconds, getExpirationTimestamp, getExtras, getIcon, getIconBackgroundColor, getIconColor, getLocalPrefetchedAssetPaths, getMessage, getMessageTextAlign, getMessageTextColor, getMessageType, getOpenUriInWebView, getOrientation, getRemoteAssetPathsForPrefetch, getUri, isControl, logClick, logDisplayFailure, logImpression, setAnimateIn, setAnimateOut, setBackgroundColor, setClickAction, setClickAction, setCropType, setDismissType, setDurationInMilliseconds, setExpirationTimestamp, setExtras, setIcon, setIconBackgroundColor, setIconColor, setMessage, setMessageTextAlign, setMessageTextColor, setOpenUriInWebView, setOrientationforJsonPutprotected InAppMessageHtmlBase()
public InAppMessageHtmlBase(org.json.JSONObject object,
                            IBrazeManager appboyManager)
                     throws org.json.JSONException
org.json.JSONExceptionpublic java.lang.String getLocalAssetsDirectoryUrl()
IInAppMessageHtmlgetLocalAssetsDirectoryUrl in interface IInAppMessageHtmlpublic void setLocalAssetsDirectoryUrl(java.lang.String assetsLocalDirectoryUrl)
IInAppMessageHtmlsetLocalAssetsDirectoryUrl in interface IInAppMessageHtmlassetsLocalDirectoryUrl - Local file URL for the unpacked assets directory.public void setLocalPrefetchedAssetPaths(java.util.Map<java.lang.String,java.lang.String> remotePathToLocalAssetMap)
InAppMessageBasesetLocalPrefetchedAssetPaths in interface IInAppMessagesetLocalPrefetchedAssetPaths in class InAppMessageBaseremotePathToLocalAssetMap - A map of remote assets Uris to local asset Uri paths.public boolean logButtonClick(java.lang.String buttonId)
IInAppMessageHtmlButton clicks may only be logged once per in-app message.
logButtonClick in interface IInAppMessageHtmlbuttonId - the id of the buttonpublic void onAfterClosed()
IInAppMessageonAfterClosed in interface IInAppMessageonAfterClosed in class InAppMessageBase