MockBaseMediaManager
Mock implementation for BaseMediaManager
Parameters
a MediaSurfaceProvider that will automatically call renderVideoOnSurface for the latest MediaSurface
a MockVolumeController to act as the VolumeController
a MockMediaSurfaceController to act as the MediaSurfaceController
the CoroutineContext on which the media will be managed
If true
this will automatically set up some mocking
Constructors
Types
Mock implementation of BaseMediaManager.Builder that builds a MockBaseMediaManager
Properties
A com.splendo.kaluga.test.base.mock.MethodMock for handleCreatePlayableMediaMock If setupMocks
was set to true
on construction, this will automatically return a MockPlayableMedia for the provided MediaSource
A com.splendo.kaluga.test.base.mock.MethodMock for initialize If setupMocks
was set to true
on construction, this will automatically cause handlePrepared to be called immediately after initialize has been called
A com.splendo.kaluga.test.base.mock.MethodMock for startSeek If setupMocks
was set to true
on construction, this will automatically cause handleSeekCompleted to be called immediately after startSeek has been called