abstract class OnlineCachePolicy : Parcelable

Interface representing the cache policy for the Map.



Link copied to clipboard
data class Custom(val sizeLimit: Long) : OnlineCachePolicy

A policy that allows the user to specify:

Link copied to clipboard

A policy that doesn't specify a maximum amount of time that a fetched resource should be allowed to remain in cache. Instead, this would be handled by the server. The maximum number of bytes that cache should use to store its data is 10MB by default.

Inherited functions

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