AI-generated Key Takeaways
-
VolumeRequest
is a class used to set the stream volume of playing media. -
The constructor
VolumeRequest(volume)
requires a non-nullchrome.cast.Volume
object as a parameter to define the new stream volume. -
The
volume
property is a non-nullchrome.cast.Volume
object representing the new stream volume, and at least one oflevel
ormuted
within it must be set. -
The
customData
property 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.