isLoggedIn

@WorkerThread
fun isLoggedIn(context: Context = testContext): Boolean

Retrieve whether the user is logged in to the FakeMusic media source. If the command cannot be sent, this call throws a RuntimeException.

Return

true if the user is logged in to the FakeMusic media source.

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.