reset

fun reset(context: Context = testContext)

Reset the source to the initial state, with no active media.

Parameters

context

Android Context to use to perform the request. When using FakeMusicMediaSourceController from inside the test framework, leave to the default to use the instrumentation context.