public enum MessageType extends java.lang.Enum<MessageType>
Enum Constant and Description |
---|
CONTROL
A
InAppMessageControl in-app message. |
FULL
InAppMessageFull in-app messages are useful for maximizing the content
and impact of your user communication. |
HTML
InAppMessageHtml in-app messages are useful for creating fully
customized user content. |
HTML_FULL
InAppMessageHtmlFull in-app messages are useful for creating fully
customized user content. |
MODAL
InAppMessageModal in-app messages appear in the center of the screen
and are framed by a translucent panel. |
SLIDEUP
InAppMessageSlideup in-app messages are so-named because they “slide up”
or “slide down” from the top or bottom of the screen. |
Modifier and Type | Method and Description |
---|---|
static MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageType SLIDEUP
InAppMessageSlideup
in-app messages are so-named because they “slide up”
or “slide down” from the top or bottom of the screen. They cover a small portion of the
screen and provide an effective and non-intrusive messaging capability.public static final MessageType MODAL
InAppMessageModal
in-app messages appear in the center of the screen
and are framed by a translucent panel. Useful for more critical messaging, they can be
equipped with up to two click action and analytics enabled buttons.public static final MessageType FULL
InAppMessageFull
in-app messages are useful for maximizing the content
and impact of your user communication. The upper half of a full in-app message contains
an image and the lower half displays text as well as up to two click action and analytics enabled buttons.public static final MessageType HTML_FULL
InAppMessageHtmlFull
in-app messages are useful for creating fully
customized user content. User-defined HTML Full in-app message content is displayed in
a WebView
and may optionally contain other rich content,
such as images and fonts, allowing for full control over message appearance and functionality.
These messages may use a ZIP file to bundle its assets.
public static final MessageType HTML
InAppMessageHtml
in-app messages are useful for creating fully
customized user content. User-defined HTML in-app message content is displayed in
a WebView
and may optionally contain other rich content,
such as images and fonts, allowing for full control over message appearance and functionality.
These messages have a list of multiple assets that may or may not be pre-cached before display.
public static final MessageType CONTROL
InAppMessageControl
in-app message. These should
never be displayed to the user.public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static MessageType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null