8.7 released—WinterCG Compliance Part 1
Learn more
ImageAsset
Observable is used when you want to be notified when a change occurs. Use on/off methods to add/remove listener. Please note that should you be using the `new Observable({})` constructor, it is **obsolete** since v3.0, and you have to migrate to the "data/observable" `fromObject({})` or the `fromObjectRecursive({})` functions.

Summary

Constructors

constructor

new ImageAsset(asset: any): ImageAsset
Parameter Default Description
asset
any

Returns ImageAsset

Properties

android

nativeImage

Methods

getImageAsync

getImageAsync(callback: (image: any, error: any) => void): any
Parameter Default Description
callback
(image: any, error: any) => void

Returns any
Previous
Image