| java.lang.Object | |
| ↳ | com.urbanairship.iam.fullscreen.FullScreenDisplayContent.Builder |
Display Content Builder.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| FullScreenDisplayContent.Builder |
addButton(ButtonInfo buttonInfo)
Adds a button the button info.
| ||||||||||
| FullScreenDisplayContent |
build()
Builds the full screen display content.
| ||||||||||
| FullScreenDisplayContent.Builder |
setBackgroundColor(int color)
Sets the background color.
| ||||||||||
| FullScreenDisplayContent.Builder |
setBody(TextInfo body)
Sets the message's body.
| ||||||||||
| FullScreenDisplayContent.Builder |
setButtonLayout(String buttonLayout)
Sets the button layout.
| ||||||||||
| FullScreenDisplayContent.Builder |
setButtons(List<ButtonInfo> buttons)
Sets the message's buttons.
| ||||||||||
| FullScreenDisplayContent.Builder |
setDismissButtonColor(int color)
Sets the dismiss button color.
| ||||||||||
| FullScreenDisplayContent.Builder |
setFooter(ButtonInfo footer)
Sets the footer button.
| ||||||||||
| FullScreenDisplayContent.Builder |
setHeading(TextInfo heading)
Sets the message's heading.
| ||||||||||
| FullScreenDisplayContent.Builder |
setMedia(MediaInfo media)
Sets the media.
| ||||||||||
| FullScreenDisplayContent.Builder |
setTemplate(String template)
Sets the template.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Adds a button the button info. Max of 5 buttons are supported. If more than 2 buttons are supplied, button layout will default to stacked.
| buttonInfo | Adds a button to the message. |
|---|
Builds the full screen display content.
| IllegalArgumentException | If more than 5 buttons are defined, or if the heading and body are both missing. |
|---|
Sets the background color. Defaults to white.
| color | The background color. |
|---|
Sets the message's body.
| body | The message's body. |
|---|
Sets the button layout. If more than 2 buttons are supplied,
the layout will default to BUTTON_LAYOUT_STACKED.
| buttonLayout | The button layout. |
|---|
Sets the message's buttons. Max of 5 buttons are supported. If more than 2 buttons are supplied, button layout will default to stacked.
| buttons | A list of button infos. |
|---|
Sets the dismiss button color. Defaults to black.
| color | The dismiss button color. |
|---|
Sets the footer button.
| footer | The footer button info. |
|---|
Sets the message's heading.
| heading | The message's heading. |
|---|
Sets the media.
| media | The media info. |
|---|
Sets the template. Defaults to TEMPLATE_HEADER_MEDIA_BODY.
| template | The message's template. |
|---|