מחלקה: VolumeRequestData
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-02 (שעון UTC).
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 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"]]