public final class

MediaRouter.ProviderInfo

extends java.lang.Object

 java.lang.Object

↳androidx.mediarouter.media.MediaRouter.ProviderInfo

Overview

Provides information about a media route provider.

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

Summary

Methods
public ComponentNamegetComponentName()

Gets the component name of the media route provider.

public java.lang.StringgetPackageName()

Gets the package name of the media route provider.

public MediaRouteProvidergetProviderInstance()

Gets the provider's underlying MediaRouteProvider instance.

public java.util.List<MediaRouter.RouteInfo>getRoutes()

Gets the routes published by this route provider.

public java.lang.StringtoString()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Methods

public MediaRouteProvider getProviderInstance()

Gets the provider's underlying MediaRouteProvider instance.

public java.lang.String getPackageName()

Gets the package name of the media route provider.

public ComponentName getComponentName()

Gets the component name of the media route provider.

public java.util.List<MediaRouter.RouteInfo> getRoutes()

Gets the routes published by this route provider.

public java.lang.String toString()