Lớp GCKMediaLiveSeekableRange
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Một lớp tổng hợp thông tin về phạm vi có thể tìm kiếm của một luồng nội dung nghe nhìn.
- Năm thành lập
- 4.4.1
Kế thừa NSObject, <NSCopying> và <NSSecureCoding>.
|
NSTimeInterval | startTime |
| Thời gian bắt đầu của phạm vi có thể tìm kiếm, trong khoảng từ 0 đến endTime nếu có. Xem thêm...
|
|
NSTimeInterval | endTime |
| Thời gian kết thúc của phạm vi có thể tìm kiếm, dao động từ 0 đến kết thúc thời lượng (nếu có). Xem thêm...
|
|
BOOL | isMovingWindow |
| Một lá cờ cho biết phạm vi tìm kiếm hiện tại là có độ dài cố định, cửa sổ di chuyển hay một dải ô mở rộng. Xem thêm...
|
|
BOOL | isLiveDone |
| Một cờ cho biết liệu sự kiện phát trực tiếp hiện tại đã hoàn tất hay chưa. Xem thêm...
|
|
- (NSTimeInterval) startTime |
|
readnonatomicassign |
Thời gian bắt đầu của phạm vi có thể tìm kiếm, trong khoảng từ 0 đến endTime
nếu có.
- (NSTimeInterval) endTime |
|
readnonatomicassign |
Thời gian kết thúc của phạm vi có thể tìm kiếm, dao động từ 0 đến kết thúc thời lượng (nếu có).
Một lá cờ cho biết phạm vi tìm kiếm hiện tại là có độ dài cố định, cửa sổ di chuyển hay một dải ô mở rộng.
Một cờ cho biết liệu sự kiện phát trực tiếp hiện tại đã hoàn tất hay chưa.
Trạng thái được cập nhật thành YES khi buổi phát trực tiếp kết thúc.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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."]]