FakeMusicCustomActions

enum FakeMusicCustomActions : Enum<FakeMusicCustomActions>

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Reset the source to its initial state. All state is reset: nothing will be playing, and login will not be necessary. Nothing is returned: the service kills itself to apply the changes.

Link copied to clipboard

Start requiring logging in before granting access to the source. When this action is sent, the state is not logged in. Existing clients will be notified of the change (via the callback MediaBrowserCompat.SubscriptionCallback.onChildrenLoaded). Nothing is returned: the service kills itself to apply the changes.

Link copied to clipboard

Log in to the media source. This action has no practical effect if the REQUIRE_LOGIN action was not previously sent.

Link copied to clipboard

Log out from the media source, and require logging in again. This action has no practical effect if the REQUIRE_LOGIN action was not previously sent.

Link copied to clipboard

Request whether login is required or not. Returns a Bundle with the Boolean extra FakeMusicCommandExtras.BUNDLE_BOOLEAN_LOGIN_STATE_KEY.

Link copied to clipboard

Request whether login is required or not. Returns a Bundle with the Boolean extra FakeMusicCommandExtras.BUNDLE_BOOLEAN_IS_LOGGED_IN_KEY.

Link copied to clipboard

Disable the search functionality for this session. Search will stay disabled until the next RESET command.

Link copied to clipboard

Change the catalog offered by the FakeMusic media source. The catalog will be used until changed again, or until the next RESET command.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: String

Inherited properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int