Udostępnij za pośrednictwem


MediaRouter.Callback.OnRouteGrouped Method

Definition

Called when a route is added to a group.

[Android.Runtime.Register("onRouteGrouped", "(Landroid/media/MediaRouter;Landroid/media/MediaRouter$RouteInfo;Landroid/media/MediaRouter$RouteGroup;I)V", "GetOnRouteGrouped_Landroid_media_MediaRouter_Landroid_media_MediaRouter_RouteInfo_Landroid_media_MediaRouter_RouteGroup_IHandler")]
public abstract void OnRouteGrouped (Android.Media.MediaRouter router, Android.Media.MediaRouter.RouteInfo info, Android.Media.MediaRouter.RouteGroup group, int index);
[<Android.Runtime.Register("onRouteGrouped", "(Landroid/media/MediaRouter;Landroid/media/MediaRouter$RouteInfo;Landroid/media/MediaRouter$RouteGroup;I)V", "GetOnRouteGrouped_Landroid_media_MediaRouter_Landroid_media_MediaRouter_RouteInfo_Landroid_media_MediaRouter_RouteGroup_IHandler")>]
abstract member OnRouteGrouped : Android.Media.MediaRouter * Android.Media.MediaRouter.RouteInfo * Android.Media.MediaRouter.RouteGroup * int -> unit

Parameters

router
MediaRouter

the MediaRouter reporting the event

info
MediaRouter.RouteInfo

The route that was added

group
MediaRouter.RouteGroup

The group the route was added to

index
Int32

The route index within group that info was added at

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