다음을 통해 공유


MediaRouter.AddUserRoute(MediaRouter+UserRouteInfo) Method

Definition

Add an app-specified route for media to the MediaRouter.

[Android.Runtime.Register("addUserRoute", "(Landroid/media/MediaRouter$UserRouteInfo;)V", "GetAddUserRoute_Landroid_media_MediaRouter_UserRouteInfo_Handler")]
public virtual void AddUserRoute (Android.Media.MediaRouter.UserRouteInfo? info);
[<Android.Runtime.Register("addUserRoute", "(Landroid/media/MediaRouter$UserRouteInfo;)V", "GetAddUserRoute_Landroid_media_MediaRouter_UserRouteInfo_Handler")>]
abstract member AddUserRoute : Android.Media.MediaRouter.UserRouteInfo -> unit
override this.AddUserRoute : Android.Media.MediaRouter.UserRouteInfo -> unit

Parameters

info
MediaRouter.UserRouteInfo

Definition of the route to add

Attributes

Remarks

Java documentation for android.media.MediaRouter.addUserRoute(android.media.UserRouteInfo).

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

See also

  • <xref:Android.Media.MediaRouter.CreateUserRoute(.RouteCategory)>
  • <xref:Android.Media.MediaRouter.RemoveUserRoute(.UserRouteInfo)>