ResourcesConfig

data class ResourcesConfig(val download: Boolean = true, val serviceUrl: String = defaultResourceDownloadUrl, val localFolder: String = defaultResourcesLocalFolder, val requestTimeout: RequestTimeout = RequestTimeout.DEFAULT) : Parcelable

Configuration for SDK resource downloads and local storage.

Constructors

Link copied to clipboard
constructor(download: Boolean = true, serviceUrl: String = defaultResourceDownloadUrl, localFolder: String = defaultResourcesLocalFolder, requestTimeout: RequestTimeout = RequestTimeout.DEFAULT)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether resources should be downloaded and cached on SDK initialization. If set to false, required resources must be packaged in the application's assets.

Link copied to clipboard

Local folder name where resources will be downloaded and cached. If resources are being downloaded, this defines the name of the folder within the application's cache folder where resources will be cached. If resource downloading is disabled, this defines the path in the application's assets where the resources can be found.

Link copied to clipboard

Timeout settings for resource downloads.

Link copied to clipboard

URL where resources are hosted when download is enabled.

Functions

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