类:VolumeRequestData
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003e\u003ccode\u003eVolumeRequestData\u003c/code\u003e is used for \u003ccode\u003eSET_VOLUME\u003c/code\u003e media event requests, allowing senders to adjust the volume on the receiver.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties like \u003ccode\u003erequestId\u003c/code\u003e, \u003ccode\u003emediaSessionId\u003c/code\u003e, and \u003ccode\u003ecustomData\u003c/code\u003e from \u003ccode\u003eRequestData\u003c/code\u003e for request management and application-specific data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evolume\u003c/code\u003e property is a crucial part of this request, specifying the desired volume level using a \u003ccode\u003ecast.framework.messages.Volume\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage \u003ccode\u003esequenceNumber\u003c/code\u003e to synchronize queue commands and ensure consistency in handling media playback requests.\u003c/p\u003e\n"]]],["`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"],null,[]]