類別:LoadRequestData
bookmark_borderbookmark
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-13 (世界標準時間)。
[[["容易理解","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-13 (世界標準時間)。"],[[["`cast.framework.messages.LoadRequestData` is a class that defines the data structure for a media LOAD request event."],["This data includes information like the media to load, playback settings (autoplay, currentTime, playbackRate), active track IDs, and custom application data."],["It also supports features like user credentials, queue management, and load options for advanced configurations."],["`LoadRequestData` inherits properties from `cast.framework.messages.RequestData` like `requestId`, `mediaSessionId`, and `customData`."],["Developers use this structure to handle incoming LOAD requests and control media playback within their Cast receiver applications."]]],["The `LoadRequestData` class handles media loading requests, extending `RequestData`. Key actions include setting `activeTrackIds` to specify active media tracks, `autoplay` to control immediate playback, and `currentTime` for playback start position. It carries `credentials` and `credentialsType` for user authentication, `customData` for custom application-specific data, and `media` with detailed media information. `loadOptions` add additional preferences, `queueData` handles the media queues, and request details like `requestId` and `sequenceNumber` are inherited for command tracking and synchronization.\n"]]