클래스: VolumeRequestData
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-02(UTC)
[null,null,["최종 업데이트: 2023-12-02(UTC)"],[[["`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"]]