DefaultMediaPlayer
Parameters
method for creating a BasePlaybackStateRepo to manage the PlaybackState of this player
the CoroutineContext on which to run the media player
Constructor that creates its own MediaSurfaceBinder.
Parameters
method for creating a BasePlaybackStateRepo to manage the PlaybackState of this player
the CoroutineContext on which to run the media player
Constructor that provides a BaseMediaManager to manage media playback, wiring it to surfaceBinder.
Parameters
the MediaSurfaceBinder a view binds its surface to; attached to the BaseMediaManager
a BaseMediaManager.Builder to provide the BaseMediaManager to manage playback
the CoroutineContext on which to run the media player
Constructor that provides a BaseMediaManager to manage media playback and creates its own MediaSurfaceBinder.
Parameters
a BaseMediaManager.Builder to provide the BaseMediaManager to manage playback
the CoroutineContext on which to run the media player