GCKMediaLoadOptions 类
使用 GCKRemoteMediaClient 加载媒体的选项。
- 开始时间
- 4.0
继承 NSObject、<NSCopy> 和 <NSSecureCoding>。
- (NSTimeInterval) playPosition |
|
readwritenonatomicassign |
- (NSArray<NSNumber *>*) activeTrackIDs |
|
readwritenonatomicstrong |
- (NSString*) credentials |
|
readwritenonatomiccopy |
- (NSString*) credentialsType |
|
readwritenonatomiccopy |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):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."]]],[]]