GCKMediaLoadOptions 類別
使用 GCKRemoteMediaClient 載入媒體的選項。
- 開始時間
- 4.0
繼承 NSObject、<NSclone> 和 <NSSecureCoding>。
- (NSTimeInterval) playPosition |
|
readwritenonatomicassign |
- (NSArray<NSNumber *>*) activeTrackIDs |
|
readwritenonatomicstrong |
- (NSString*) credentials |
|
readwritenonatomiccopy |
- (NSString*) credentialsType |
|
readwritenonatomiccopy |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[null,null,["上次更新時間:2023-12-02 (世界標準時間)。"],[[["`GCKMediaLoadOptions` configures media playback on a Cast receiver, controlling aspects like autoplay, initial position, and playback rate."],["It provides properties to customize playback behavior including `autoplay`, `playPosition`, `playbackRate`, `activeTrackIDs`, and `customData`."],["Developers can specify user credentials using `credentials` and `credentialsType` properties, introduced in version 4.1.1."],["`GCKMediaLoadOptions` objects are initialized using the designated initializer `init`, setting default values for all properties unless otherwise specified."]]],[]]