| java.lang.Object | ||
| ↳ | com.urbanairship.iam.ForegroundDisplayAdapter | |
| ↳ | com.urbanairship.iam.html.HtmlDisplayAdapter | |
Html display adapter.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.urbanairship.iam.InAppMessageAdapter
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
HtmlDisplayAdapter(InAppMessage message, HtmlDisplayContent displayContent)
Default constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean |
isReady(Context context)
Called before displaying but after the message is prepared.
| ||||||||||
| static HtmlDisplayAdapter |
newAdapter(InAppMessage message)
Creates a new modal adapter.
| ||||||||||
| void | onDisplay(Context context, DisplayHandler displayHandler) | ||||||||||
| void | onFinish(Context context) | ||||||||||
| int | onPrepare(Context context, Assets assets) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.urbanairship.iam.ForegroundDisplayAdapter
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.urbanairship.iam.InAppMessageAdapter
| |||||||||||
Default constructor.
| message | The HTML in-app message. |
|---|
Called before displaying but after the message is prepared.
| context | The application context. |
|---|
true if the message is ready to be displayed, otherwise false.
Creates a new modal adapter.
| message | The in-app message. |
|---|