androidx.mediarouter.media


Interfaces

MediaRouter.OnPrepareTransferListener

Listener for receiving events when the selected route is about to be changed.

RemotePlaybackClient.OnMessageReceivedListener

A callback that will receive messages from media sessions.

Classes

MediaControlIntent

Constants for media control intents.

MediaItemMetadata

Constants for specifying metadata about a media item as a Bundle.

MediaItemStatus

Describes the playback status of a media item.

MediaItemStatus.Builder

Builder for media item status objects.

MediaRouteDescriptor

Describes the properties of a route.

MediaRouteDescriptor.Builder

Builder for media route descriptors.

MediaRouteDiscoveryRequest

Describes the kinds of routes that the media router would like to discover and whether to perform active scanning.

MediaRouteProvider

Media route providers are used to publish additional media routes for use within an application.

MediaRouteProvider.Callback

Callback which is invoked when route information becomes available or changes.

MediaRouteProvider.DynamicGroupRouteController

Provides control over a dynamic group route.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Contains a route, its selection state and its capabilities.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

Builder for DynamicRouteDescriptor

MediaRouteProvider.ProviderMetadata

Describes properties of the route provider's implementation.

MediaRouteProvider.RouteController

Provides control over a particular route.

MediaRouteProvider.RouteControllerOptions

Holds parameters for creating RouteController.

MediaRouteProvider.RouteControllerOptions.Builder

Builder for RouteControllerOptions.

MediaRouteProviderDescriptor

Describes the state of a media route provider and the routes that it publishes.

MediaRouteProviderDescriptor.Builder

Builder for MediaRouteProviderDescriptor.

MediaRouteProviderService

Base class for media route provider services.

MediaRouteProviderService.ClientInfo

Contains information about a client that is bound to this service.

MediaRouteProviderService.ClientInfo.Builder

Builder for ClientInfo.

MediaRouteSelector

Describes the capabilities of routes that applications would like to discover and use.

MediaRouteSelector.Builder

Builder for media route selectors.

MediaRouter

MediaRouter allows applications to control the routing of media channels and streams from the current device to external speakers and destination devices.

MediaRouter.Callback

Interface for receiving events about media routing changes.

MediaRouter.ControlRequestCallback

Callback which is invoked with the result of a media control request.

MediaRouter.ProviderInfo

Provides information about a media route provider.

MediaRouter.RouteInfo

Provides information about a media route.

MediaRouterParams

MediaRouterParams are used in MediaRouter to denote routing functionality and UI types.

MediaRouterParams.Builder

Builder class for MediaRouterParams.

MediaSessionStatus

Describes the playback status of a media session.

MediaSessionStatus.Builder

Builder for media session status objects.

MediaTransferReceiver

A BroadcastReceiver class for enabling Media transfer feature.

RemotePlaybackClient

A helper class for playing media on remote routes using the remote playback protocol defined by MediaControlIntent.

RemotePlaybackClient.ActionCallback

Base callback type for remote playback requests.

RemotePlaybackClient.ItemActionCallback

Callback for remote playback requests that operate on items.

RemotePlaybackClient.SessionActionCallback

Callback for remote playback requests that operate on sessions.

RemotePlaybackClient.StatusCallback

A callback that will receive media status updates.

RouteListingPreference

Allows applications to customize the list of routes used for media routing (for example, in the System UI Output Switcher).

RouteListingPreference.Builder

Builder for RouteListingPreference.

RouteListingPreference.Item

Holds preference information for a specific route in a RouteListingPreference.

RouteListingPreference.Item.Builder

Builder for RouteListingPreference.Item.