ManagerAudio

Extends

Methods

connect

(async) connect(): Promise.<void>

Connect to the realtime namespace.

Returns

Promise.<void>

disconnect

(async) disconnect(): Promise.<void>

Disconnect from the realtime namespace.

Returns

Promise.<void>

getOptionVolume

(async) getOptionVolume(): Promise.<any>

Scopes

SYSTEM

HTTP

GET /api/manager/audio/option/volume

Returns

Promise.<any>

isConnected

isConnected(): Boolean

If this manager's namespace is connected to Socket.io.

Returns

Boolean

playVolumeHint

(async) playVolumeHint(): Promise.<any>

Scopes

homey.system

HTTP

POST /api/manager/audio/volume-hint/

Returns

Promise.<any>

setOptionVolume

(async) setOptionVolume(opts): Promise.<any>

Scopes

SYSTEM

HTTP

PUT /api/manager/audio/option/volume

Parameters

Name Type Description
opts
object
value
number
}

Returns

Promise.<any>

unsetOptionVolume

(async) unsetOptionVolume(): Promise.<any>

Scopes

SYSTEM

HTTP

DELETE /api/manager/audio/option/volume

Returns

Promise.<any>