Udostępnij za pośrednictwem


MediaRouter.SimpleCallback.OnRouteUnselected Method

Definition

Called when the supplied route becomes unselected as the active route for the given route type.

[Android.Runtime.Register("onRouteUnselected", "(Landroid/media/MediaRouter;ILandroid/media/MediaRouter$RouteInfo;)V", "GetOnRouteUnselected_Landroid_media_MediaRouter_ILandroid_media_MediaRouter_RouteInfo_Handler")]
public override void OnRouteUnselected (Android.Media.MediaRouter router, Android.Media.MediaRouteType type, Android.Media.MediaRouter.RouteInfo info);
[<Android.Runtime.Register("onRouteUnselected", "(Landroid/media/MediaRouter;ILandroid/media/MediaRouter$RouteInfo;)V", "GetOnRouteUnselected_Landroid_media_MediaRouter_ILandroid_media_MediaRouter_RouteInfo_Handler")>]
override this.OnRouteUnselected : Android.Media.MediaRouter * Android.Media.MediaRouteType * Android.Media.MediaRouter.RouteInfo -> unit

Parameters

router
MediaRouter

the MediaRouter reporting the event

type
MediaRouteType

Type flag set indicating the routes that have been unselected

info
MediaRouter.RouteInfo

Route that has been unselected for the given route types

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