Lớp GCKMediaQueueData
Lớp chứa thông tin về hàng đợi phát hoặc vùng chứa nội dung đa phương tiện.
- Năm thành lập
- 4.4.1
Kế thừa NSObject, <NSCopying> và <NSSecureCoding>.
Tên hiển thị của hàng đợi.
Đường liên kết sâu cho nội dung nghe nhìn mà Trợ lý Google sử dụng (nếu có).
Chế độ lặp lại của hàng đợi.
- (NSUInteger) startIndex |
|
readnonatomicassign |
Chỉ mục của mục để bắt đầu phát.
Chỉ dành cho yêu cầu tải.
- (NSTimeInterval) startTime |
|
readnonatomicassign |
Thời gian bắt đầu phát, tính bằng giây.
Chỉ dành cho yêu cầu tải.
Hàng đợi.
Chỉ dành cho yêu cầu tải.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2023-12-02 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]