Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

ProviderMetadata

class ProviderMetadata
kotlin.Any
   ↳ androidx.mediarouter.media.MediaRouteProvider.ProviderMetadata

Describes properties of the route provider's implementation.

This object is immutable once created.

Summary

Public methods

ComponentName!

Gets the provider's component name.

String!

Gets the provider's package name.

String

Public methods

getComponentName

fun getComponentName(): ComponentName!

Gets the provider's component name.

getPackageName

fun getPackageName(): String!

Gets the provider's package name.

toString

fun toString(): String