GCKMediaQueueData 类
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
用于存储播放队列或媒体容器信息的类。
- 开始时间
- 4.4.1
继承 NSObject、<NSCopy> 和 <NSSecureCoding>。
- (NSUInteger) startIndex |
|
readnonatomicassign |
- (NSTimeInterval) startTime |
|
readnonatomicassign |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe \u003ccode\u003eGCKMediaQueueData\u003c/code\u003e class stores information about a playing queue or media container, including details like queue type, ID, name, and repeat mode.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties for accessing container metadata, start index, start time, and the queue items themselves.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eNSObject\u003c/code\u003e, \u003ccode\u003eNSCopying\u003c/code\u003e, and \u003ccode\u003eNSSecureCoding\u003c/code\u003e, offering functionalities related to object lifecycle and data management.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize \u003ccode\u003eGCKMediaQueueData\u003c/code\u003e to manage and interact with media queues on Google Cast devices.\u003c/p\u003e\n"]]],["The `GCKMediaQueueData` class manages media queue information, featuring properties like `queueType`, `queueID`, and `name`. It also handles `repeatMode`, `entity` links, and `containerMetadata`. It holds an array of `items` and sets playback control parameters using `startIndex` and `startTime`. It can only be used with load requests. The queue information is accessed via properties which have the following types: `NSString`, `GCKMediaRepeatMode`, `GCKMediaQueueType`, `GCKMediaQueueContainerMetadata`, `NSTimeInterval`, and `NSArray`.\n"],null,[]]