Klasa GCKMediaLiveSeekableRange
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Klasa agregująca informacje o zakresie strumienia multimediów, który można przeszukiwać.
- Od
- 4.4.1
Dziedziczy NSObject, <NSCopying> i <NSSecureCoding>.
|
NSTimeInterval | startTime |
| Czas rozpoczęcia zakresu od 0 do endTime (jeśli jest dostępny). Więcej...
|
|
NSTimeInterval | endTime |
| Czas zakończenia zakresu do przeszukiwania, który mieści się w zakresie od 0 do końca okresu (jeśli jest dostępny). Więcej...
|
|
BOOL | isMovingWindow |
| Flaga określająca, czy bieżący zakres przewijania jest o stałej długości, ruchomym oknem czy rozszerzającym się zakresem. Więcej...
|
|
BOOL | isLiveDone |
| Flaga z informacją, czy bieżąca transmisja na żywo się zakończyła. Więcej...
|
|
- (NSTimeInterval) startTime |
|
readnonatomicassign |
Czas rozpoczęcia zakresu od 0 do endTime
(jeśli jest dostępny).
- (NSTimeInterval) endTime |
|
readnonatomicassign |
Czas zakończenia zakresu do przeszukiwania, który mieści się w zakresie od 0 do końca okresu (jeśli jest dostępny).
Flaga określająca, czy bieżący zakres przewijania jest o stałej długości, ruchomym oknem czy rozszerzającym się zakresem.
Flaga z informacją, czy bieżąca transmisja na żywo się zakończyła.
Po zakończeniu transmisji na żywo opcja zostanie ustawiona na TAK.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]