java.lang.Object | |
↳ | com.urbanairship.iam.assets.Assets |
Assets for an in-app message. All assets are stored on disk in the app's cache directory.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | describeContents() | ||||||||||
File |
file(String key)
Gets the file for the asset for the given key.
| ||||||||||
JsonValue |
getMetadata(String key)
Gets metadata for a key.
| ||||||||||
void |
setMetadata(String key, JsonSerializable value)
Sets metadata.
| ||||||||||
void | writeToParcel(Parcel dest, int flags) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Gets the file for the asset for the given key.
key | The key. |
---|
Gets metadata for a key.
key | The key. |
---|
Sets metadata.
key | The key. |
---|---|
value | The value. |