کلاس GCKMediaLiveSeekableRange
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
کلاسی که اطلاعات مربوط به محدوده قابل جستجوی جریان رسانه را جمع آوری می کند.
- از آنجا که
- 4.4.1
NSObject، <NSCopying> و <NSSecureCoding> را به ارث می برد.
|
NSTimeInterval | startTime |
| زمان شروع محدوده قابل جستجو، که در صورت وجود از 0 تا endTime است. بیشتر...
|
|
NSTimeInterval | endTime |
| زمان پایان محدوده قابل جستجو، که در صورت وجود از 0 تا پایان مدت زمان متغیر است. بیشتر...
|
|
BOOL | isMovingWindow |
| پرچمی که نشان می دهد محدوده جستجوی فعلی یک پنجره با طول ثابت، متحرک یا یک محدوده در حال گسترش است. بیشتر...
|
|
BOOL | isLiveDone |
| پرچمی که نشان میدهد آیا پخش زنده فعلی انجام شده است یا خیر. بیشتر...
|
|
- (NSTimeInterval) startTime |
|
read nonatomic assign |
زمان شروع محدوده قابل جستجو، که در صورت وجود از 0 تا endTime
است.
- (NSTimeInterval) endTime |
|
read nonatomic assign |
زمان پایان محدوده قابل جستجو، که در صورت وجود از 0 تا پایان مدت زمان متغیر است.
پرچمی که نشان می دهد محدوده جستجوی فعلی یک پنجره با طول ثابت، متحرک یا یک محدوده در حال گسترش است.
پرچمی که نشان میدهد آیا پخش زنده فعلی انجام شده است یا خیر.
پس از پایان پخش زنده، به YES بهروزرسانی میشود.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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."]]