Google is committed to advancing racial equity for Black communities. See how.

MediaConstants

class MediaConstants
kotlin.Any
   ↳ androidx.media.utils.MediaConstants

Media constants for sharing constants between media provider and consumer apps

Summary

Constants
static String

Bundle key used for the account name in session extras.

static String

Bundle key used for the account type in session extras.

Constants

SESSION_EXTRAS_KEY_ACCOUNT_NAME

static val SESSION_EXTRAS_KEY_ACCOUNT_NAME: String

Bundle key used for the account name in session extras.

TYPE: String

Value: "androidx.media.MediaSessionCompat.Extras.KEY_ACCOUNT_NAME"

SESSION_EXTRAS_KEY_ACCOUNT_TYPE

static val SESSION_EXTRAS_KEY_ACCOUNT_TYPE: String

Bundle key used for the account type in session extras. The value would vary across media applications.

TYPE: String

Value: "androidx.media.MediaSessionCompat.Extras.KEY_ACCOUNT_TYPE"