- getActivity() - Method in class com.google.android.libraries.mediaframework.layeredvideo.LayerManager
-
Returns the activity which displays the video player created by this
LayerManager
.
- getBackgrounded() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- getBandwidthMeter() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- getBufferedPercentage() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
Returns the number of the milliseconds of the video that has been buffered.
- getCodecCounters() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- getContainer() - Method in class com.google.android.libraries.mediaframework.layeredvideo.LayerManager
-
Returns the
FrameLayout
which contains the views of the
Layer
s that this
LayerManager
manages.
- getContentId() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.Video
-
Returns ID of content (for DASH).
- getControl() - Method in class com.google.android.libraries.mediaframework.layeredvideo.LayerManager
-
- getCurrentPosition() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
Returns the position of the seek head in the number of
milliseconds after the start of the video.
- getCurrentPosition() - Method in class com.google.android.libraries.mediaframework.layeredvideo.SimpleVideoPlayer
-
Returns the current playback position in milliseconds.
- getDuration() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
Returns the duration of the video in milliseconds.
- getDuration() - Method in class com.google.android.libraries.mediaframework.layeredvideo.SimpleVideoPlayer
-
Returns the duration of the track in milliseconds or
ExoPlayer.UNKNOWN_TIME
if the duration is unknown.
- getExoplayerWrapper() - Method in class com.google.android.libraries.mediaframework.layeredvideo.LayerManager
-
Returns the wrapper which ties the video player to
ExoPlayer
.
- getFormat() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- getLayerManager() - Method in class com.google.android.libraries.mediaframework.layeredvideo.PlaybackControlLayer
-
Returns the
LayerManager
which is responsible for displaying this layer's view.
- getLayoutParamsBasedOnParent(View, int, int) - Static method in class com.google.android.libraries.mediaframework.layeredvideo.Util
-
Create a LayoutParams object for the given view which enforces a given width and height.
- getPlaybackState() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
Returns the state of the Exoplayer instance.
- getPlayerControl() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
Returns the player control which can be used to play, pause, seek, get elapsed time, and get
elapsed duration.
- getPlayWhenReady() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
Returns true if the video is set to start as soon as it is set up, returns false otherwise.
- getSelectedTrack(int) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- getStateForTrackType(int) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- getSurface() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
Returns the surface on which the video is rendered.
- getTracks(int) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
Returns the name of the track at the given index.
- getUrl() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.Video
-
Returns the URL pointing to the video.
- getUserAgent(Context) - Static method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerUtil
-
Generate a User-Agent string that should be sent with HTTP requests.
- getVideoListItems() - Method in class com.google.googlemediaframeworkdemo.demo.MainActivity
-
Create a list of videos and their associated metadata.
- getVideoType() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.Video
-
Returns the video format of the video.