類別:VolumeRequestData
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[null,null,["上次更新時間:2023-12-02 (世界標準時間)。"],[[["`VolumeRequestData` is used for `SET_VOLUME` media event requests, allowing senders to adjust the volume on the receiver."],["It inherits properties like `requestId`, `mediaSessionId`, and `customData` from `RequestData` for request management and application-specific data."],["The `volume` property is a crucial part of this request, specifying the desired volume level using a `cast.framework.messages.Volume` object."],["Developers can leverage `sequenceNumber` to synchronize queue commands and ensure consistency in handling media playback requests."]]],["`VolumeRequestData` is a class for media event requests to set volume. It extends `RequestData` and includes properties like `customData`, enabling application-specific data exchange, and `mediaSessionId`, to specify the session for the request. It also contains `requestId` for request-response correlation, `sequenceNumber` for synchronizing queue commands, and `volume`, which represents the media stream volume to be set. The class facilitates volume control operations within the media framework.\n"]]