ManagerImages

You can access this manager through the Homey instance as this.homey.images

Methods

createImage

(async) createImage(): Promise.<Image>

Create an Image.

Returns

Promise.<Image>

getImage

getImage(id): Image

Get a registered Image.

Parameters

Name Type Description
id
string

Returns

unregisterImage

(async) unregisterImage(imageInstance): Promise.<void>

Unregister a Image.

Parameters

Name Type Description
imageInstance
Image

Returns

Promise.<void>