LocalImageData

Represents an image stored as raw byte data. Useful when loading images dynamically (e.g., from memory or a cache).

Example:

val bytes = Res.readBytes("files/images/avatar.png")
AdaptyCustomAsset.LocalImageData(bytes)

Parameters

data

raw image bytes.

Constructors

Link copied to clipboard
constructor(data: ByteArray)

Properties

Link copied to clipboard