AirshipCachedAssets

Convenience interface representing an assets directory containing asset files with filenames derived from their remote URL using sha256.

Functions

Link copied to clipboard
abstract fun cacheUri(remoteUrl: String): Uri?

Return a uri at which to cache a given asset

Link copied to clipboard
abstract fun getMediaSize(remoteUrl: String): Size

Returns the downloaded media size.

Link copied to clipboard
abstract fun isCached(remoteUrl: String): Boolean

Checks if an asset is cached

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)