OOIMAAdPlayer Class Reference

#import "OOIMAAdPlayer.h"

+ Inheritance diagram for OOIMAAdPlayer:

Instance Methods

(instancetype) - initWithIMAManager:
 Initialize a OOIMAAdPlayer using the given OOIMAManager. More...
 
(void) - resumeContent
 Resume content playback. More...
 
(OOOoyalaPlayerState) - state
 
(void) - startSelfUpdateTimer
 Start a Timer to update current Playback time based on content playback every 0.25 second. More...
 
(void) - stopSelfUpdateTimer
 Stop the timer. More...
 
(void) - adsReady [implementation]
 
(void) - onError [implementation]
 
(void) - play [implementation]
 
(void) - pause [implementation]
 
(void) - currentPlaybackTimeUpdate [implementation]
 
(void) - stop [implementation]
 
(BOOL) - isPlaying [implementation]
 
(Float64) - playheadTime [implementation]
 
(void) - dealloc [implementation]
 
(CMTimeRange) - seekableTimeRange [implementation]
 
(void) - seekToTime: [implementation]
 
(BOOL) - seekable [implementation]
 
(void) - setSeekable: [implementation]
 
(BOOL) - allowsExternalPlayback [implementation]
 
(void) - setAllowsExternalPlayback: [implementation]
 
(BOOL) - externalPlaybackActive [implementation]
 
(float) - rate [implementation]
 
(void) - setRate: [implementation]
 
(double) - bitrate [implementation]
 
(BOOL) - supportsVideoGravityButton [implementation]
 
(BOOL) - isLiveClosedCaptionsAvailable [implementation]
 
(BOOL) - hasCustomControls [implementation]
 
(Float64) - buffer [implementation]
 
(void) - setClosedCaptionsLanguage: [implementation]
 
(void) - setVideoGravity: [implementation]
 

Properties

OOIMAManageradManager [implementation]
 
NSTimer * timer [implementation]
 
Float64 duration [implementation]
 

Detailed Description

Method Documentation

- (void) adsReady
implementation

Reimplemented from <OOIMAManagerDelegate>.

- (BOOL) allowsExternalPlayback
implementation
- (double) bitrate
implementation
- (Float64) buffer
implementation
- (void) currentPlaybackTimeUpdate
implementation
- (void) dealloc
implementation
- (BOOL) externalPlaybackActive
implementation
- (BOOL) hasCustomControls
implementation
- (instancetype) initWithIMAManager: (OOIMAManager *)  imaManager

Initialize a OOIMAAdPlayer using the given OOIMAManager.

Parameters
[in]imaManagerthe current OOIMAManager connected to OoyalaPlayer
Returns
the initialized OOIMAAdPlayer
- (BOOL) isLiveClosedCaptionsAvailable
implementation
- (BOOL) isPlaying
implementation
- (void) onError
implementation

Reimplemented from <OOIMAManagerDelegate>.

- (void) pause
implementation
- (void) play
implementation
- (Float64) playheadTime
implementation
- (float) rate
implementation
- (void) resumeContent

Resume content playback.

- (BOOL) seekable
implementation
- (CMTimeRange) seekableTimeRange
implementation
- (void) seekToTime: (Float64)  time
implementation
- (void) setAllowsExternalPlayback: (BOOL)  allowsExternalPlayback
implementation
- (void) setClosedCaptionsLanguage: (NSString *)  language
implementation
- (void) setRate: (float)  rate
implementation
- (void) setSeekable: (BOOL)  seekable
implementation
- (void) setVideoGravity: (OOOoyalaPlayerVideoGravity)  gravity
implementation
- (void) startSelfUpdateTimer

Start a Timer to update current Playback time based on content playback every 0.25 second.

- (OOOoyalaPlayerState) state
Returns
the current OOOoyalaPlayerState for IMA Ads Playback
- (void) stop
implementation
- (void) stopSelfUpdateTimer

Stop the timer.

- (BOOL) supportsVideoGravityButton
implementation

Property Documentation

- (OOIMAManager*) adManager
readnonatomicweakimplementation
- (Float64) duration
readwritenonatomicassignimplementation
- (NSTimer*) timer
readwritenonatomicassignimplementation

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