Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
GCKMediaQueueItemBuilder クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
新規または派生した GCKMediaQueueItem インスタンスを作成するためのビルダー オブジェクト。
このビルダーを使用すると、既存のものから GCKMediaQueueItem を導出できます。
また、新しい GCKMediaQueueItem をゼロから作成するためにも使用できます。
NSObject を継承します。
このアイテムに関連付けられているメディア情報です。
そのアイテムがキューの現在のアイテムになったときに、自動的に再生を開始するかどうかを指定します。
NO の場合、このアイテムに到達した時点でキューが一時停止します。デフォルト値は YES です。
| - (NSTimeInterval) startTime |
|
readwritenonatomicassign |
| - (NSTimeInterval) playbackDuration |
|
readwritenonatomicassign |
アイテムの再生時間(秒)。実際のストリーム時間を使用する場合は INFINITY。
| - (NSTimeInterval) preloadTime |
|
readwritenonatomicassign |
| - (NSArray<NSNumber *>*) activeTrackIDs |
|
readwritenonatomiccopy |
このアイテムに関連付けられているカスタムデータ(ある場合)。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],["The `GCKMediaQueueItemBuilder` class constructs `GCKMediaQueueItem` instances. It can initialize with default values or copy attributes from an existing item, including the item ID. You can set properties like `mediaInformation`, `autoplay`, `startTime`, `playbackDuration`, `preloadTime`, `activeTrackIDs`, and `customData`. The `build` method creates a `GCKMediaQueueItem` using the configured attributes. Key actions include initializing the builder, modifying properties, and finally building the item.\n"]]