GCKMediaLoadOptions Class

GCKMediaLoadOptions Class Reference

Overview

Options for loading media with GCKRemoteMediaClient .

Since
4.0

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Instance Method Summary

(instancetype) 
- init
Designated initializer. More...

Property Summary

BOOL 
Whether playback should start immediately. More...
NSTimeInterval 
The initial playback position. More...
float 
The playback rate. More...
NSArray< NSNumber * > * 
An array of integers specifying the active tracks. More...
id 
Custom application-specific data to pass along with the request. More...
NSString * 
The user credentials for the media item being loaded. More...
NSString * 
The type of user credentials specified in GCKMediaLoadOptions::credentials . More...

Method Detail

- (instancetype) init

Designated initializer.

Initializes a GCKMediaLoadOptions with default values for all properties.

Property Detail

- (BOOL) autoplay
read write nonatomic assign

Whether playback should start immediately.

The default value is YES .

- (NSTimeInterval) playPosition
read write nonatomic assign

The initial playback position.

The default value is kGCKInvalidTimeInterval , which indicates a default playback position.

- (float) playbackRate
read write nonatomic assign

The playback rate.

The default value is 1 .

- (NSArray<NSNumber *>*) activeTrackIDs
read write nonatomic strong

An array of integers specifying the active tracks.

The default value is nil .

- (id) customData
read write nonatomic strong

Custom application-specific data to pass along with the request.

Must either be an object that can be serialized to JSON using NSJSONSerialization , or nil .

- (NSString*) credentials
read write nonatomic copy

The user credentials for the media item being loaded.

Since
4.1.1
- (NSString*) credentialsType
read write nonatomic copy

The type of user credentials specified in GCKMediaLoadOptions::credentials .

Since
4.1.1
Design a Mobile Site
View Site in Mobile | Classic
Share by: