Callback

abstract class Callback
kotlin.Any
   ↳ androidx.mediarouter.media.MediaRouteProvider.Callback

Callback which is invoked when route information becomes available or changes.

Summary

Public constructors

Public methods
open Unit

Called when information about a route provider and its routes changes.

Public constructors

<init>

Callback()

Public methods

onDescriptorChanged

open fun onDescriptorChanged(provider: MediaRouteProvider, descriptor: MediaRouteProviderDescriptor?): Unit

Called when information about a route provider and its routes changes.

Parameters
provider MediaRouteProvider: The media route provider that changed, never null.
descriptor MediaRouteProvider: The new media route provider descriptor, or null if none.