Condividi tramite


MediaRouter.Callback.OnRouteAdded(MediaRouter, MediaRouter+RouteInfo) Method

Definition

Called when a route for the specified type was added.

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

Parameters

router
MediaRouter

the MediaRouter reporting the event

info
MediaRouter.RouteInfo

Route that has become available for use

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