public class InAppMessageControl extends InAppMessageBase
InAppMessageControl
should be instantiated. InAppMessageControl
instances can be serialized and used for
analytics only. They should never be used to back an actual in-app message for display.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
Constructor and Description |
---|
InAppMessageControl(org.json.JSONObject object,
IBrazeManager appboyManager) |
Modifier and Type | Method and Description |
---|---|
MessageType |
getMessageType()
The
MessageType of this in-app message. |
boolean |
logImpression()
Logs an impression on this in-app message.
|
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, onAfterClosed, setAnimateIn, setAnimateOut, setBackgroundColor, setClickAction, setClickAction, setCropType, setDismissType, setDurationInMilliseconds, setExpirationTimestamp, setExtras, setIcon, setIconBackgroundColor, setIconColor, setLocalPrefetchedAssetPaths, setMessage, setMessageTextAlign, setMessageTextColor, setOpenUriInWebView, setOrientation
public InAppMessageControl(org.json.JSONObject object, IBrazeManager appboyManager) throws org.json.JSONException
org.json.JSONException
public MessageType getMessageType()
IInAppMessage
MessageType
of this in-app message.public boolean logImpression()
IInAppMessage
logImpression
in interface IInAppMessage
logImpression
in class InAppMessageBase