GCKMediaSeekOptions クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
GCKRemoteMediaClient を使用してメディア内を移動するためのオプション。
- 開始:
- 4.0
NSObject、<NSCopying>、<NSSecureCoding> を継承します。
- (NSTimeInterval) interval |
|
readwritenonatomicassign |
時間間隔は、現在のストリームの位置(YES
)を基準とするか、ストリームの開始を基準とする(NO
)か。
デフォルト値は NO
で、絶対シーク位置を示します。
- (GCKMediaResumeState) resumeState |
|
readwritenonatomicassign |
シーク オペレーションが完了した後に実行するアクション。
デフォルト値は GCKMediaResumeStateUnchanged です。
ストリーミングの終点に移動またはライブまで移動。
- 開始:
- 4.4.1
リクエストと一緒に渡すカスタム アプリケーション固有のデータ。
NSJSONSerialization を使用して JSON にシリアル化できるオブジェクトか、nil
である必要があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-02 UTC。
[[["わかりやすい","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 UTC。"],[[["`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"]]