Google 致力于为黑人社区推动种族平等。查看具体举措

MediaRouteProvider.ProviderMetadata

public static final class MediaRouteProvider.ProviderMetadata
extends Object

java.lang.Object
   ↳ androidx.mediarouter.media.MediaRouteProvider.ProviderMetadata


Describes properties of the route provider's implementation.

This object is immutable once created.

Summary

Public methods

ComponentName getComponentName()

Gets the provider's component name.

String getPackageName()

Gets the provider's package name.

String toString()

Inherited methods

Public methods

getComponentName

public ComponentName getComponentName ()

Gets the provider's component name.

Returns
ComponentName

getPackageName

public String getPackageName ()

Gets the provider's package name.

Returns
String

toString

public String toString ()

Returns
String