คลาส GCKMediaQueueData
คลาสที่เก็บข้อมูลของคิวการเล่นหรือคอนเทนเนอร์สื่อ
- Since
- 4.4.1
รับค่า NSObject, <NSCopying> และ <NSSecureCoding>
Deep Link ของสื่อที่ Google Assistant ใช้ (หากมี)
- (NSUInteger) startIndex |
|
readnonatomicassign |
ดัชนีของสินค้าที่จะเริ่มเล่น
สำหรับคำขอโหลดเท่านั้น
- (NSTimeInterval) startTime |
|
readnonatomicassign |
เวลาเริ่มต้นการเล่น หน่วยเป็นวินาที
สำหรับคำขอโหลดเท่านั้น
คิวItems
สำหรับคำขอโหลดเท่านั้น
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-12-02 UTC
[null,null,["อัปเดตล่าสุด 2023-12-02 UTC"],[[["The `GCKMediaQueueData` class stores information about a playing queue or media container, including details like queue type, ID, name, and repeat mode."],["It provides properties for accessing container metadata, start index, start time, and the queue items themselves."],["This class inherits from `NSObject`, `NSCopying`, and `NSSecureCoding`, offering functionalities related to object lifecycle and data management."],["Developers can utilize `GCKMediaQueueData` to manage and interact with media queues on Google Cast devices."]]],["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"]]