MediaRouteProvider.Callback

public static abstract class MediaRouteProvider.Callback
extends Object

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


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

Summary

Public constructors

MediaRouteProvider.Callback()

Public methods

void onDescriptorChanged(MediaRouteProvider provider, MediaRouteProviderDescriptor descriptor)

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

Inherited methods

Public constructors

MediaRouteProvider.Callback

public MediaRouteProvider.Callback ()

Public methods

onDescriptorChanged

public void onDescriptorChanged (MediaRouteProvider provider, 
                MediaRouteProviderDescriptor descriptor)

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

Parameters
provider MediaRouteProvider: The media route provider that changed, never null.

descriptor MediaRouteProviderDescriptor: The new media route provider descriptor, or null if none.