GCKMediaQueueDataBuilder 類別
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
用於建構全新或衍生 GCKMediaQueueData
執行個體的建構工具物件。
您可以使用建構工具從現有工具中取得 GCKMediaQueueData
。
- 開始時間
- 4.4.1
繼承 NSObject。
- (NSUInteger) startIndex |
|
readwritenonatomicassign |
- (NSTimeInterval) startTime |
|
readwritenonatomicassign |
播放開始時間 (以秒為單位)。
僅適用於載入要求。如果未設定,接收方會根據串流類型設定開始時間。非直播影片:從 0 載入。直播:從最新位置載入。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間: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"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eGCKMediaQueueDataBuilder\u003c/code\u003e constructs and modifies \u003ccode\u003eGCKMediaQueueData\u003c/code\u003e instances, which represent media queues or containers on Google Cast.\u003c/p\u003e\n"],["\u003cp\u003eYou can initialize it with a queue type or an existing \u003ccode\u003eGCKMediaQueueData\u003c/code\u003e object for derivation.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties to customize various aspects of the queue, including queue type, ID, name, repeat mode, start index, start time, and items.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild\u003c/code\u003e method creates a \u003ccode\u003eGCKMediaQueueData\u003c/code\u003e instance based on the builder's current configuration.\u003c/p\u003e\n"]]],["The `GCKMediaQueueDataBuilder` class facilitates the creation of `GCKMediaQueueData` instances, either new or derived from existing ones. Key actions include initializing a builder with a queue type or existing `GCKMediaQueueData`, and building a `GCKMediaQueueData` using current attributes. Notable properties include `queueType`, `queueID`, `name`, `entity`, `repeatMode`, `containerMetadata`, `startIndex`, `startTime`, and `items`. These properties specify queue characteristics such as type, identifier, display name, repeat behavior, metadata, start index and time, and the queue's items.\n"],null,[]]