GCKMediaSeekOptions Class Reference

Options for seeking within media with GCKRemoteMediaClient. More...

#import <GCKMediaSeekOptions.h>

+ Inheritance diagram for GCKMediaSeekOptions:

Instance Methods

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

Properties

NSTimeInterval interval
 The time interval by which to seek. More...
 
BOOL relative
 Whether the time interval is relative to the current stream position (YES) or to the beginning of the stream (NO). More...
 
GCKMediaResumeState resumeState
 The action to take after the seek operation has finished. More...
 
id customData
 Custom application-specific data to pass along with the request. More...
 

Detailed Description

Options for seeking within media with GCKRemoteMediaClient.

Since
4.0

Method Documentation

- (instancetype) init

Designated initializer.

Initializes a GCKMediaSeekOptions with default values for all properties.

Property Documentation

- (id) customData
readwritenonatomicstrong

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.

- (NSTimeInterval) interval
readwritenonatomicassign

The time interval by which to seek.

The default value is 0.

- (BOOL) relative
readwritenonatomicassign

Whether the time interval is relative to the current stream position (YES) or to the beginning of the stream (NO).

The default value is NO, indicating an absolute seek position.

- (GCKMediaResumeState) resumeState
readwritenonatomicassign

The action to take after the seek operation has finished.

The default value is GCKMediaResumeStateUnchanged.


The documentation for this class was generated from the following file: