com.urbanairship.iam.assets.PrepareAssetsDelegate |
Known Indirect Subclasses |
Listener used by AssetManager
to populate assets for in-app messages.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
onPrepare(String scheduleId, InAppMessage message, Assets assets)
Called to prepare assets for the in-app message before the message is displayed.
| ||||||||||
abstract void |
onSchedule(String scheduleId, InAppMessage message, Assets assets)
Called to prepare assets for the in-app message when the message is scheduled.
|
Called to prepare assets for the in-app message before the message is displayed.
scheduleId | The scheduleId. |
---|---|
message | The message. This might be different then schedule's message if the message was extended. |
assets | The assets. |
Called to prepare assets for the in-app message when the message is scheduled. If any assets
fail to download, onPrepare(String, InAppMessage, Assets)
will still
be called before the message is displayed.
scheduleId | The scheduleId. |
---|---|
message | The message. This might be different then schedule's message if the message was extended. |
assets | The assets. |