共用方式為


MediaRouter.ClearUserRoutes Method

Definition

Remove all app-specified routes from the MediaRouter.

[Android.Runtime.Register("clearUserRoutes", "()V", "GetClearUserRoutesHandler")]
public virtual void ClearUserRoutes ();
[<Android.Runtime.Register("clearUserRoutes", "()V", "GetClearUserRoutesHandler")>]
abstract member ClearUserRoutes : unit -> unit
override this.ClearUserRoutes : unit -> unit
Attributes

Remarks

Remove all app-specified routes from the MediaRouter.

Java documentation for android.media.MediaRouter.clearUserRoutes().

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.RemoveUserRoute(.UserRouteInfo)>