כיתת GCKMediaQueueDataBuilder
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אובייקט של בונה ליצירת מכונות GCKMediaQueueData
חדשות או נגזרות.
אפשר להשתמש בבונה כדי להסיק את GCKMediaQueueData
מקובץ קיים.
- מאז
- 4.4.1
יורש את NSObject.
הפונקציה יוצרת GCKMediaQueueData
חדש עם מאפייני החובה הנתונים וכל המאפיינים האחרים המאתחלים לערכי ברירת המחדל.
קישור העומק למדיה, כמו בשימוש של Google Assistant, אם קיים.
המטא-נתונים של מאגר התגים.
- (NSUInteger) startIndex |
|
readwritenonatomicassign |
האינדקס של הפריט שאיתו מתחילים לשחק.
רק לבקשת טעינה.
- (NSTimeInterval) startTime |
|
readwritenonatomicassign |
זמן ההתחלה של ההפעלה, בשניות.
רק לבקשת טעינה. אם היא לא מוגדרת, המקבל יגדיר את שעת ההתחלה בהתאם לסוג השידור. בשידורים שאינם בשידור חי: נטען מ-0. בשידורים חיים: מתבצעת טעינה מהמיקום האחרון.
ה-QueueItems.
רק לבקשות טעינה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\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,[]]