belongs to Maven artifact androidx.mediarouter:mediarouter:1.0.0-alpha1

MediaRouter.ProviderInfo

public static final class MediaRouter.ProviderInfo
extends Object

java.lang.Object
   ↳ androidx.mediarouter.media.MediaRouter.ProviderInfo


Provides information about a media route provider.

This object may be used to determine which media route provider has published a particular route.

Summary

Public methods

ComponentName getComponentName()

Gets the component name of the media route provider.

String getPackageName()

Gets the package name of the media route provider.

MediaRouteProvider getProviderInstance()

Gets the provider's underlying MediaRouteProvider instance.

List<MediaRouter.RouteInfo> getRoutes()

Gets the routes published by this route provider.

String toString()

Inherited methods

Public methods

getComponentName

ComponentName getComponentName ()

Gets the component name of the media route provider.

Returns
ComponentName

getPackageName

String getPackageName ()

Gets the package name of the media route provider.

Returns
String

getProviderInstance

MediaRouteProvider getProviderInstance ()

Gets the provider's underlying MediaRouteProvider instance.

Returns
MediaRouteProvider

getRoutes

List<MediaRouter.RouteInfo> getRoutes ()

Gets the routes published by this route provider.

Returns
List<MediaRouter.RouteInfo>

toString

String toString ()

Returns
String