Methods
Method |
Description |
com.theoplayer.android.api.cast.createCastIntegration(THEOplayerView)
|
Creates a CastIntegration instance. |
com.theoplayer.android.api.player.handleResult(T)
|
Called when the result is ready. |
com.theoplayer.android.api.player.setAutoplay(boolean,DoneCallback)
|
Sets whether the player should immediately start playback after source change. |
com.theoplayer.android.api.player.setVolume(double,DoneCallback)
|
Sets the volume of the audio. |
com.theoplayer.android.api.player.setPreload(PreloadType,DoneCallback)
|
Sets the PreloadType of the player. |
com.theoplayer.android.api.player.setMuted(boolean,DoneCallback)
|
Sets whether the audio is muted. |
com.theoplayer.android.api.player.setSource(SourceDescription,DoneCallback)
|
Sets a new SourceDescription. |
com.theoplayer.android.api.player.setSrc(String,DoneCallback)
|
Sets a new media source URL. |
com.theoplayer.android.api.player.play(DoneCallback)
|
Starts or resumes playback. |
com.theoplayer.android.api.player.pause(DoneCallback)
|
Pauses playback. |
com.theoplayer.android.api.player.stop(DoneCallback)
|
Stops playback. |
com.theoplayer.android.api.player.setPlaybackRate(double,DoneCallback)
|
Sets the playback rate of the media. |
com.theoplayer.android.api.player.setCurrentProgramDateTime(Date,DoneCallback)
|
Sets the current program date time. |
com.theoplayer.android.api.player.setCurrentTime(double,DoneCallback)
|
Sets the playback position of the media. |
com.theoplayer.android.api.player.handleResult()
|
Called when the result is ready. |
com.theoplayer.android.api.isFullScreenOrientationCoupled()
|
Returns whether fullscreen coupling is on. |
com.theoplayer.android.api.setFullScreenOrientationCoupled(boolean)
|
Sets whether the orientation of the device and the fullscreen state are coupled. |
com.theoplayer.android.api.getFullscreenOrientation()
|
Returns which orientation was configured to go to in fullscreen, defaults to ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED. |
com.theoplayer.android.api.setFullscreenOrientation(int)
|
Sets in which ScreenOrientation the player should go into fullscreen. |
com.theoplayer.android.api.ads(AdsConfiguration)
|
Sets the additional advertisement configuration. |
com.theoplayer.android.api.castStrategy(CastStrategy)
|
Sets the cast behaviour. |
com.theoplayer.android.api.getAds()
|
The Advertisement configuration of the player. |
com.theoplayer.android.api.getCastStrategy()
|
The Cast Strategy. |
com.theoplayer.android.api.ads.showCountdown(boolean)
|
Sets whether the countdown for linear ads will be shown. |
com.theoplayer.android.api.ads.preload(AdPreloadType)
|
Use Google IMA preload of media files (for mid- and post rolls) |
com.theoplayer.android.api.ads.isShowCountdown()
|
Whether an advertisement duration countdown will be shown in the UI. |
com.theoplayer.android.api.ads.isPreload()
|
The preload type of the ad, whether media files of mid- and postrolls are preloaded. |
com.theoplayer.android.api.source.ads(Array)
|
Sets the ads of the SourceDescription. |
com.theoplayer.android.api.source.mediatailor.src(String)
|
Sets the MediaTailor source URL. |
com.theoplayer.android.api.source.drm.licenseType(Array)
|
Sets the certificate. |
com.theoplayer.android.api.ads.ima.createGoogleImaIntegration(THEOplayerView)
|
Creates a GoogleImaIntegration instance. |
com.theoplayer.android.api.ads.ima.createGoogleImaIntegration(THEOplayerView,AdsConfiguration)
|
Creates a GoogleImaIntegration instance. |
com.theoplayer.android.api.ads.ima.createGoogleImaIntegration(THEOplayerView,AdsConfiguration,ImaSdkSettings)
|
Creates a GoogleImaIntegration instance. |
com.theoplayer.android.api.ads.dai.createGoogleDaiIntegration(THEOplayerView)
|
Creates a GoogleDaiIntegration instance. |
com.theoplayer.android.api.ads.dai.createGoogleDaiIntegration(THEOplayerView,AdsConfiguration)
|
Creates a GoogleDaiIntegration instance. |
com.theoplayer.android.api.ads.dai.createGoogleDaiIntegration(THEOplayerView,AdsConfiguration,ImaSdkSettings)
|
Creates a GoogleDaiIntegration instance. |