added in version 22.1.0
belongs to Maven artifact com.android.support:mediarouter-v7:28.0.0-alpha1

MediaRouter.ProviderInfo

public static final class MediaRouter.ProviderInfo
extends Object

java.lang.Object
   ↳ android.support.v7.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

From class java.lang.Object

Public methods

getComponentName

added in version 22.1.0
ComponentName getComponentName ()

Gets the component name of the media route provider.

Returns
ComponentName

getPackageName

added in version 22.1.0
String getPackageName ()

Gets the package name of the media route provider.

Returns
String

getProviderInstance

added in version 22.1.0
MediaRouteProvider getProviderInstance ()

Gets the provider's underlying MediaRouteProvider instance.

Returns
MediaRouteProvider

getRoutes

added in version 22.1.0
List<MediaRouter.RouteInfo> getRoutes ()

Gets the routes published by this route provider.

Returns
List<MediaRouter.RouteInfo>

toString

String toString ()

Returns
String