AssetPath

data class AssetPath

A data class that describes the path to the advertising data in the cache.

An object of this structure is used in AssetCache to identify the path to an advertising resource. You can use it when writing, reading, or removing resources.

To create an object, you can use the companion object and the fromFileName and fromURL methods.

See also

Types

Link copied to clipboard
object Companion

Companion object used to create AssetPath.

Properties

Link copied to clipboard

The name of the advertising resource.

Link copied to clipboard

The name of the folder where the advertising resource is written or will be written. It can be useful when you want to write all resources related to particular advertising to one separate folder.