8 #import <Foundation/Foundation.h> 9 #import <CoreMedia/CMTimeRange.h> 10 #import "OOPlayerState.h" 12 #ifndef OOPlayerProtocol_h 13 #define OOPlayerProtocol_h 62 - (void)seekToTime:(Float64)time;
69 - (void)setVideoGravity:(OOOoyalaPlayerVideoGravity)gravity;
71 - (void)setClosedCaptionsLanguage:(NSString *)language;
80 @property (nonatomic, readonly) OOOoyalaPlayerState
state;
86 @property (nonatomic)
float rate;
87 @property (nonatomic, readonly)
double bitrate;
94 #endif // OOPlayerProtocol_h float volume
Definition: OOPlayerProtocol.h:90
void stop()
This is called when stop is clicked.
BOOL liveClosedCaptionsAvailable
Definition: OOPlayerProtocol.h:89
BOOL externalPlaybackActive
Definition: OOPlayerProtocol.h:85
Float64 playheadTime()
Get the current playhead time.
BOOL supportsVideoGravityButton
Definition: OOPlayerProtocol.h:88
void pause()
This is called when pause is clicked.
float rate
Definition: OOPlayerProtocol.h:86
OOOoyalaPlayerState state
This returns the player state.
Definition: OOPlayerProtocol.h:80
Float64 duration()
Get the current item's duration.
void play()
This is called when play is clicked.
Float64 buffer()
Get the current item's buffer.
CMTimeRange seekableTimeRange
Definition: OOPlayerProtocol.h:82
BOOL seekable
Definition: OOPlayerProtocol.h:81
BOOL allowsExternalPlayback
Definition: OOPlayerProtocol.h:83
double bitrate
Definition: OOPlayerProtocol.h:87
BOOL usesExternalPlaybackWhileExternalScreenIsActive
Definition: OOPlayerProtocol.h:84
void disablePlaylistClosedCaptions()
Definition: OOPlayerProtocol.h:17