Aracılığıyla paylaş


MediaRouter.RouteGroup.AddRoute Method

Definition

Overloads

AddRoute(MediaRouter+RouteInfo)

Add a route to this group.

AddRoute(MediaRouter+RouteInfo, Int32)

Add a route to this group before the specified index.

AddRoute(MediaRouter+RouteInfo)

Add a route to this group.

[Android.Runtime.Register("addRoute", "(Landroid/media/MediaRouter$RouteInfo;)V", "GetAddRoute_Landroid_media_MediaRouter_RouteInfo_Handler")]
public virtual void AddRoute (Android.Media.MediaRouter.RouteInfo? route);
[<Android.Runtime.Register("addRoute", "(Landroid/media/MediaRouter$RouteInfo;)V", "GetAddRoute_Landroid_media_MediaRouter_RouteInfo_Handler")>]
abstract member AddRoute : Android.Media.MediaRouter.RouteInfo -> unit
override this.AddRoute : Android.Media.MediaRouter.RouteInfo -> unit

Parameters

route
MediaRouter.RouteInfo

route to add to this group

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

AddRoute(MediaRouter+RouteInfo, Int32)

Add a route to this group before the specified index.

[Android.Runtime.Register("addRoute", "(Landroid/media/MediaRouter$RouteInfo;I)V", "GetAddRoute_Landroid_media_MediaRouter_RouteInfo_IHandler")]
public virtual void AddRoute (Android.Media.MediaRouter.RouteInfo? route, int insertAt);
[<Android.Runtime.Register("addRoute", "(Landroid/media/MediaRouter$RouteInfo;I)V", "GetAddRoute_Landroid_media_MediaRouter_RouteInfo_IHandler")>]
abstract member AddRoute : Android.Media.MediaRouter.RouteInfo * int -> unit
override this.AddRoute : Android.Media.MediaRouter.RouteInfo * int -> unit

Parameters

route
MediaRouter.RouteInfo

route to add

insertAt
Int32

insert the new route before this index

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