The Android Developer Challenge is back! Submit your idea before December 2.

ProviderInfo

class ProviderInfo
kotlin.Any
   ↳ 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!

Gets the component name of the media route provider.

String!

Gets the package name of the media route provider.

MediaRouteProvider!

Gets the provider's underlying MediaRouteProvider instance.

MutableList<MediaRouter.RouteInfo!>!

Gets the routes published by this route provider.

String

Public methods

getComponentName

fun getComponentName(): ComponentName!

Gets the component name of the media route provider.

getPackageName

fun getPackageName(): String!

Gets the package name of the media route provider.

getProviderInstance

fun getProviderInstance(): MediaRouteProvider!

Gets the provider's underlying MediaRouteProvider instance.

getRoutes

fun getRoutes(): MutableList<MediaRouter.RouteInfo!>!

Gets the routes published by this route provider.

toString

fun toString(): String