GCKMediaLiveSeekableRange クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
メディア ストリームのシーク可能範囲に関する情報を集約するクラス。
- 開始:
- 4.4.1
NSObject、<NSCopying>、<NSSecureCoding> を継承します。
- (NSTimeInterval) startTime |
|
readnonatomicassign |
シーク可能な範囲の開始時刻。0 ~endTime
(可能な場合)の範囲になります。
- (NSTimeInterval) endTime |
|
readnonatomicassign |
シーク可能な範囲の終了時刻。0 から期間の終了までの範囲(使用可能な場合)。
現在のシーク範囲が固定長、移動ウィンドウ、拡大範囲のいずれであるかを示すフラグ。
現在のライブ ストリームが完了したかどうかを示すフラグ。
ライブ ストリームが終了すると [はい] に更新されます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003e\u003ccode\u003eGCKMediaLiveSeekableRange\u003c/code\u003e provides details about the seekable range within a live media stream.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for the start and end times of the seekable range (\u003ccode\u003estartTime\u003c/code\u003e, \u003ccode\u003eendTime\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eisMovingWindow\u003c/code\u003e property indicates if the seekable range is a fixed window or expands over time.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eisLiveDone\u003c/code\u003e signals whether the live stream has concluded.\u003c/p\u003e\n"]]],["The `GCKMediaLiveSeekableRange` class provides information about a media stream's seekable range. It defines `startTime` and `endTime` properties to specify the seekable range within the stream's duration. A `isMovingWindow` flag indicates if the range is a fixed-length, moving window or expanding. Additionally, the `isLiveDone` flag signals if the live stream has finished. The seekable range and live status of the media stream can be checked using these properties.\n"],null,["# GCKMediaLiveSeekableRange Class\n\n[Properties](#properties) \nGCKMediaLiveSeekableRange Class Reference \n\nOverview\n--------\n\nA class that aggregates information about seekable range of a media stream.\n\nSince\n: 4.4.1\n\nInherits NSObject, \\\u003cNSCopying\\\u003e, and \\\u003cNSSecureCoding\\\u003e.\n\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Property Summary ---------------- ||\n| NSTimeInterval | [startTime](/cast/docs/reference/ios/interface_g_c_k_media_live_seekable_range#a1ffa84981e71ce08f90cee463b2c3ce8) |\n| | The start time of seekable range, which ranges from 0 to `endTime` if available. [More...](#a1ffa84981e71ce08f90cee463b2c3ce8) |\n| ||\n| NSTimeInterval | [endTime](/cast/docs/reference/ios/interface_g_c_k_media_live_seekable_range#a2bf375d828d9227599b5d361cd86ab04) |\n| | The end time of seekable range, which ranges from 0 to end of duration if available. [More...](#a2bf375d828d9227599b5d361cd86ab04) |\n| ||\n| BOOL | [isMovingWindow](/cast/docs/reference/ios/interface_g_c_k_media_live_seekable_range#a8810ef320c4f6df10c21099d915a8dcb) |\n| | A flag indicating whether the current seek range is a fixed-length, moving window or a expanding range. [More...](#a8810ef320c4f6df10c21099d915a8dcb) |\n| ||\n| BOOL | [isLiveDone](/cast/docs/reference/ios/interface_g_c_k_media_live_seekable_range#a423da030ea8dfc35292b3d4a14196562) |\n| | A flag indicating whether the current live stream is done. [More...](#a423da030ea8dfc35292b3d4a14196562) |\n| ||\n\nProperty Detail\n---------------\n\n|-------------------------------------------------------------------|---------------------|\n| |------------------------------| | - (NSTimeInterval) startTime | | readnonatomicassign |\n\nThe start time of seekable range, which ranges from 0 to `endTime` if available. \n\n|---------------------------------------------------------------|---------------------|\n| |----------------------------| | - (NSTimeInterval) endTime | | readnonatomicassign |\n\nThe end time of seekable range, which ranges from 0 to end of duration if available. \n\n|---------------------------------------------------------|---------------------|\n| |-------------------------| | - (BOOL) isMovingWindow | | readnonatomicassign |\n\nA flag indicating whether the current seek range is a fixed-length, moving window or a expanding range. \n\n|-------------------------------------------------|---------------------|\n| |---------------------| | - (BOOL) isLiveDone | | readnonatomicassign |\n\nA flag indicating whether the current live stream is done.\n\nIt's updated to YES when live stream finishes."]]