Volume interface
Properties
level | Get the media stream track volume level 0-100 |
Methods
off("level |
Unsubscribe to the volume level |
on("level |
Subscription to the volume level |
Property Details
level
Get the media stream track volume level 0-100
level: number
Property Value
number
Method Details
off("levelChanged", PropertyChangedEvent)
Unsubscribe to the volume level
function off(event: "levelChanged", listener: PropertyChangedEvent)
Parameters
- event
-
"levelChanged"
- listener
- PropertyChangedEvent
on("levelChanged", PropertyChangedEvent)
Subscription to the volume level
function on(event: "levelChanged", listener: PropertyChangedEvent)
Parameters
- event
-
"levelChanged"
- listener
- PropertyChangedEvent