|
void | init (final OoyalaPlayer parent, AdSpot ad, StateNotifier notifier) |
| Remember if we sent ad-start, because IMA calls same method for first play and resumes. More...
|
|
void | play () |
| Start or resume the current ad playback. More...
|
|
void | playIMA () |
| Start or resume the current ad playback. More...
|
|
void | pause () |
| Pause the current ad playback. More...
|
|
void | pauseIMA () |
| Pause the current ad playback. More...
|
|
void | destroy () |
| Destroy this IMAAdPlayer. More...
|
|
void | update (Observable arg0, Object arg1) |
| Send notification when playhead changed or ad completed. More...
|
|
AdSpot | getAd () |
| Fetch the current AdSpot. More...
|
|
void | setIMAManager (OoyalaIMAManager imaManager) |
| Set current OoyalaIMAManager to be the given OoyalaIMAManager. More...
|
|
OoyalaIMAManager | getIMAManager () |
| Fetch the current. More...
|
|
void | setState (State state) |
| Set current sate to be the given state. More...
|
|
void | processClickThrough () |
| Do nothing since IMA SDK take care of click through. More...
|
|
void | skipAd () |
|
void | init (OoyalaPlayer parent, AdSpot ad, StateNotifier notifier) |
|
void | init (OoyalaPlayer parent, Set< Stream > streams) |
|
StateNotifier | getNotifier () |
|
void | updateLearnMoreButton (FrameLayout layout, int topMargin) |
|
void | onAdIconClicked (int index) |
|
boolean | isMultiAudioAvailable () |
|
void | setLive (boolean isLive) |
| Specify if this baseplayer will be playing a live video or not (default false) More...
|
|
StreamPlayer | getBasePlayer () |
|
void | reset () |
| This is called when plugin should be reset. More...
|
|
void | suspend () |
| This is called when plugin should be suspended. More...
|
|
void | suspend (boolean onlyRemoveView) |
| This is called when plugin should be suspended. More...
|
|
void | suspend (int millisToResume, State stateToResume, boolean onlyRemoveView) |
|
void | resume () |
| This is called when plugin should be resumed. More...
|
|
void | resume (int millisToResume, State stateToResume) |
| This is called when plugin should be resumed. More...
|
|
int | timeToResume () |
|
View | getView () |
|
void | setParent (OoyalaPlayer parent) |
|
void | stop () |
| This is called when stop is clicked. More...
|
|
int | currentTime () |
|
int | duration () |
|
int | buffer () |
|
int | getBufferPercentage () |
|
int | livePlayheadPercentage () |
|
void | seekToPercentLive (float percent) |
| Seek to the given percent position of scrubber for live stream playback. More...
|
|
boolean | seekable () |
|
void | setSeekable (boolean seekable) |
|
void | seekToTime (int timeInMillis) |
| Move the playhead to a new location in seconds with millisecond accuracy. More...
|
|
SeekStyle | getSeekStyle () |
|
State | getState () |
| This returns the player state. More...
|
|
OoyalaException | getError () |
|
boolean | isPlaying () |
|
boolean | isLiveClosedCaptionsAvailable () |
|
void | setClosedCaptionsLanguage (String language) |
| Set the displayed closed captions language. More...
|
|
void | setVolume (float volume) |
| Set the volume for the player. More...
|
|
PlayerType | getPlayerType () |
| Get the player's type. More...
|
|
void | createBitmapScreenshot (final PlayerBitmapListener playerBitmapListener) |
| Create the bitmap screenshot of the current video frame. More...
|
|
void | setError (OoyalaException error) |
|
OoyalaPlayer | getParent () |
|
void | configurationChanged (Configuration newConfig) |
| This method is called when the device configuration changes while your component is running. More...
|
|
This class represents the Base Movie Player that plays IMA Ad spots.
And it is also a interface between OoyalaPlayer and IMA SDK for IMA ads playabck