คลาส 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 และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\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,[]]