Most visited

Recently visited

MediaRouteProvider.Callback

public static abstract class MediaRouteProvider.Callback
extends Object

java.lang.Object
   ↳ android.support.v7.media.MediaRouteProvider.Callback


当路由信息变得可用或改变时调用的回调。

Summary

Public constructors

MediaRouteProvider.Callback()

Public methods

void onDescriptorChanged(MediaRouteProvider provider, MediaRouteProviderDescriptor descriptor)

当关于路线提供者及其路线的信息改变时调用。

Inherited methods

From class java.lang.Object

Public constructors

MediaRouteProvider.Callback

MediaRouteProvider.Callback ()

Public methods

onDescriptorChanged

void onDescriptorChanged (MediaRouteProvider provider, 
                MediaRouteProviderDescriptor descriptor)

当关于路线提供者及其路线的信息改变时调用。

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

Hooray!