java.lang.Object | ||
↳ | com.urbanairship.AirshipComponent | |
↳ | com.urbanairship.iam.LegacyInAppMessageManager |
Legacy in-app message manager.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | LegacyInAppMessageManager.MessageBuilderExtender | Interface to extend the InAppMessage.Builder that generates the message from a
legacy in-app message. |
|||||||||
interface | LegacyInAppMessageManager.ScheduleBuilderExtender | Interface to extend the Schedule.Builder that generates the in-app
schedule info from a legacy in-app message. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
float | DEFAULT_BORDER_RADIUS_DP | Default border radius. | |||||||||
int | DEFAULT_PRIMARY_COLOR | Default primary color. | |||||||||
int | DEFAULT_SECONDARY_COLOR | Default secondary color. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.urbanairship.AirshipComponent
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
getDisplayAsapEnabled()
Determines whether legacy messages will display immediately upon arrival, instead of waiting
until the following foreground.
| ||||||||||
void |
setDisplayAsapEnabled(boolean enabled)
Sets whether legacy messages will display immediately upon arrival, instead of waiting
until the following foreground.
| ||||||||||
void |
setMessageBuilderExtender(LegacyInAppMessageManager.MessageBuilderExtender messageBuilderExtender)
Sets the in-app message builder extender.
| ||||||||||
void |
setScheduleBuilderExtender(LegacyInAppMessageManager.ScheduleBuilderExtender scheduleBuilderExtender)
Sets the in-app schedule info builder extender.
| ||||||||||
static LegacyInAppMessageManager |
shared()
Gets the shared Legacy In-App Message Manager instance.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
init()
Initialize the manager.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Default border radius.
Default primary color.
Default secondary color.
Determines whether legacy messages will display immediately upon arrival, instead of waiting until the following foreground.
true
if immediate display is enabled, otherwise false
.
Sets whether legacy messages will display immediately upon arrival, instead of waiting
until the following foreground. Defaults to true
.
enabled | Whether immediate display is enabled. |
---|
Sets the in-app message builder extender.
messageBuilderExtender | The extender. |
---|
Sets the in-app schedule info builder extender.
scheduleBuilderExtender | The extender. |
---|
Gets the shared Legacy In-App Message Manager instance.