public abstract class

MediaRouteProvider.Callback

extends java.lang.Object

 java.lang.Object

↳androidx.mediarouter.media.MediaRouteProvider.Callback

Overview

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

Summary

Constructors
publicCallback()

Methods
public voidonDescriptorChanged(MediaRouteProvider provider, MediaRouteProviderDescriptor descriptor)

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

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Callback()

Methods

public void onDescriptorChanged(MediaRouteProvider provider, MediaRouteProviderDescriptor descriptor)

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

Parameters:

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