Share via


MediaRouter.Callback.OnRouteChanged Method

Definition

Called when an aspect of the indicated route has changed.

[Android.Runtime.Register("onRouteChanged", "(Landroid/media/MediaRouter;Landroid/media/MediaRouter$RouteInfo;)V", "GetOnRouteChanged_Landroid_media_MediaRouter_Landroid_media_MediaRouter_RouteInfo_Handler")]
public abstract void OnRouteChanged (Android.Media.MediaRouter router, Android.Media.MediaRouter.RouteInfo info);
[<Android.Runtime.Register("onRouteChanged", "(Landroid/media/MediaRouter;Landroid/media/MediaRouter$RouteInfo;)V", "GetOnRouteChanged_Landroid_media_MediaRouter_Landroid_media_MediaRouter_RouteInfo_Handler")>]
abstract member OnRouteChanged : Android.Media.MediaRouter * Android.Media.MediaRouter.RouteInfo -> unit

Parameters

router
MediaRouter

the MediaRouter reporting the event

info
MediaRouter.RouteInfo

The route that was changed

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to