除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[null,null,["上次更新時間:2023-12-02 (世界標準時間)。"],[[["`chrome.cast.media.VolumeRequest` is a class used to set the volume of media playing on a cast device."],["It's constructed using `new VolumeRequest(volume)` where `volume` is a `chrome.cast.Volume` object specifying the desired volume level."],["The `VolumeRequest` object has two properties: `customData` for sending custom information to the receiver and `volume` which sets the new volume level or mute state."],["The `volume` property within `VolumeRequest` requires at least either the `level` or `muted` attribute of the `chrome.cast.Volume` object to be defined."]]],[]]