public class InAppMessageSlideup extends InAppMessageWithImageBase
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 |
---|
InAppMessageSlideup() |
InAppMessageSlideup(org.json.JSONObject object,
IBrazeManager appboyManager) |
Modifier and Type | Method and Description |
---|---|
void |
enableDarkTheme()
Instructs the
IInAppMessage to apply any dark theme settings
and override any existing values present on the IInAppMessage . |
org.json.JSONObject |
forJsonPut()
Storing in-app messages serialized with this method is primarily
for storage as triggered actions.
|
int |
getChevronColor() |
MessageType |
getMessageType()
The
MessageType of this in-app message. |
SlideFrom |
getSlideFrom() |
void |
setChevronColor(int chevronColor) |
void |
setSlideFrom(SlideFrom slideFrom) |
getBitmap, getImageDownloadSuccessful, getImageUrl, getLocalImageUrl, getRemoteAssetPathsForPrefetch, getRemoteImageUrl, setBitmap, setImageDownloadSuccessful, setImageUrl, setLocalImageUrl, setLocalPrefetchedAssetPaths, setRemoteImageUrl
getAnimateIn, getAnimateOut, getBackgroundColor, getClickAction, getCropType, getDismissType, getDurationInMilliseconds, getExpirationTimestamp, getExtras, getIcon, getIconBackgroundColor, getIconColor, getLocalPrefetchedAssetPaths, getMessage, getMessageTextAlign, getMessageTextColor, getOpenUriInWebView, getOrientation, getUri, isControl, logClick, logDisplayFailure, logImpression, onAfterClosed, setAnimateIn, setAnimateOut, setBackgroundColor, setClickAction, setClickAction, setCropType, setDismissType, setDurationInMilliseconds, setExpirationTimestamp, setExtras, setIcon, setIconBackgroundColor, setIconColor, setMessage, setMessageTextAlign, setMessageTextColor, setOpenUriInWebView, setOrientation
public InAppMessageSlideup()
public InAppMessageSlideup(org.json.JSONObject object, IBrazeManager appboyManager) throws org.json.JSONException
org.json.JSONException
- if JSON is malformed. Constructed InAppMessageSlideup
objects are meant to be fully verified and good to go.public MessageType getMessageType()
IInAppMessage
MessageType
of this in-app message.public void enableDarkTheme()
IInAppMessageThemeable
IInAppMessage
to apply any dark theme settings
and override any existing values present on the IInAppMessage
.enableDarkTheme
in interface IInAppMessageThemeable
enableDarkTheme
in class InAppMessageBase
public SlideFrom getSlideFrom()
public int getChevronColor()
public void setChevronColor(int chevronColor)
public void setSlideFrom(SlideFrom slideFrom)
public org.json.JSONObject forJsonPut()
InAppMessageBase
forJsonPut
in interface IPutIntoJson<org.json.JSONObject>
forJsonPut
in class InAppMessageWithImageBase