Skip to content

@camera.ui/sdk / sensor / SensorMediaPlayer

Interface: SensorMediaPlayer ​

Defined in: sensor/meta.ts:203

Properties of a media player, named in SensorSemantics.mediaPlayer.

Properties ​

artist? ​

readonly optional artist?: string

Defined in: sensor/meta.ts:215

Name of the property that carries the artist of what plays.


muted? ​

readonly optional muted?: string

Defined in: sensor/meta.ts:209

Name of the property that carries whether the sound is muted.


power? ​

readonly optional power?: string

Defined in: sensor/meta.ts:205

Name of the property that turns the player on and off.


source? ​

readonly optional source?: string

Defined in: sensor/meta.ts:211

Name of the property that carries the selected input, its choices are the inputs.


title? ​

readonly optional title?: string

Defined in: sensor/meta.ts:213

Name of the property that carries the title of what plays.


volume? ​

readonly optional volume?: string

Defined in: sensor/meta.ts:207

Name of the property that carries the volume, 0 to 100.