java.lang.Object | |
↳ | com.urbanairship.iam.fullscreen.FullScreenDisplayContent |
Display content for a TYPE_FULLSCREEN
in-app message.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | FullScreenDisplayContent.Builder | Display Content Builder. | |||||||||
@interface | FullScreenDisplayContent.Template |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | MAX_BUTTONS | Maximum number of buttons. | |||||||||
String | TEMPLATE_HEADER_BODY_MEDIA | Template with display order of header, body, media, buttons, footer. | |||||||||
String | TEMPLATE_HEADER_MEDIA_BODY | Template with display order of header, media, body, buttons, footer. | |||||||||
String | TEMPLATE_MEDIA_HEADER_BODY | Template with display order of media, header, body, buttons, footer. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.urbanairship.iam.DisplayContent
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
static FullScreenDisplayContent |
fromJson(JsonValue value)
Parses full screen display JSON.
| ||||||||||
int |
getBackgroundColor()
Returns the background color.
| ||||||||||
TextInfo |
getBody()
Returns the optional body
TextInfo . | ||||||||||
String |
getButtonLayout()
Returns the button layout.
| ||||||||||
List<ButtonInfo> |
getButtons()
Returns the list of optional buttons.
| ||||||||||
int |
getDismissButtonColor()
Returns the dismiss button color.
| ||||||||||
ButtonInfo |
getFooter()
Returns the footer button.
| ||||||||||
TextInfo |
getHeading()
Returns the optional heading
TextInfo . | ||||||||||
MediaInfo |
getMedia()
Returns the optional
MediaInfo . | ||||||||||
String |
getTemplate()
Returns the template.
| ||||||||||
int | hashCode() | ||||||||||
static FullScreenDisplayContent.Builder |
newBuilder(FullScreenDisplayContent displayContent)
Creates a builder from existing display content.
| ||||||||||
static FullScreenDisplayContent.Builder |
newBuilder()
Builder factory method.
| ||||||||||
JsonValue |
toJsonValue()
Returns the objects represented as a JsonValue.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.urbanairship.json.JsonSerializable
|
Maximum number of buttons.
Template with display order of header, body, media, buttons, footer.
Template with display order of header, media, body, buttons, footer.
Template with display order of media, header, body, buttons, footer.
Parses full screen display JSON.
value | The json payload. |
---|
JsonException | If the json was unable to be parsed. |
---|
Returns the background color.
Returns the list of optional buttons.
Returns the dismiss button color.
Creates a builder from existing display content.
displayContent | The display content. |
---|
Builder factory method.
Returns the objects represented as a JsonValue.