AI-generated Key Takeaways
-
VolumeRequestis a class used to set the stream volume of playing media. -
The constructor
VolumeRequest(volume)requires a non-nullchrome.cast.Volumeobject as a parameter to define the new stream volume. -
The
volumeproperty is a non-nullchrome.cast.Volumeobject representing the new stream volume, and at least one oflevelormutedwithin it must be set. -
The
customDataproperty is a nullable Object for including custom data for the receiver application.
chrome.cast.media. VolumeRequest
A request to set the stream volume of the playing media.
Constructor
VolumeRequest
new VolumeRequest(volume)
Parameter |
|
|---|---|
|
volume |
The new volume of the stream. Value must not be null. |
Properties
customData
nullable Object
Custom data for the receiver application.
volume
non-null chrome.cast.Volume
The new volume of the stream. At least one of level or muted must be set.