GCKMediaSeekOptions 類別
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
透過 GCKRemoteMediaClient 在媒體中搜尋的選項。
- 開始時間
- 4.0
繼承 NSObject、<NSclone> 和 <NSSecureCoding>。
- (NSTimeInterval) interval |
|
readwritenonatomicassign |
時間間隔是相對於目前的串流位置 (YES
) 或串流的開頭 (NO
)。
預設值為 NO
,表示絕對搜尋位置。
- (GCKMediaResumeState) resumeState |
|
readwritenonatomicassign |
搜尋作業完成後要採取的行動。
預設值為 GCKMediaResumeStateStateUnchanged。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2023-12-02 (世界標準時間)。"],[[["`GCKMediaSeekOptions` allows developers to control seeking within media on a Cast receiver using the `GCKRemoteMediaClient`."],["It provides options for specifying the seek interval, whether it's relative to the current position or the beginning, and the desired playback state after seeking."],["Developers can also include custom application-specific data with the seek request."],["Introduced in Google Cast SDK v4.0, this class inherits from `NSObject`, `NSCopying`, and `NSSecureCoding`."]]],["GCKMediaSeekOptions provides configurations for media seeking within a stream. Key properties include `interval`, defining the seek duration; `relative`, indicating whether the seek is relative to the current position or absolute; `resumeState`, determining the post-seek action; `seekToInfinite`, enabling seeking to the end of a stream or live content and `customData`, which allows for passing application-specific information. An `init` method initializes these options with default values. These options can be utilized with GCKRemoteMediaClient.\n"]]