MediaRouteProvider.Callback
public static abstract class MediaRouteProvider.Callback
extends Object
当路由信息变得可用或改变时调用的回调。
Summary
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. |