共用方式為


MediaRouter2.RoutingController.Release Method

Definition

Releases this controller and the corresponding session.

[Android.Runtime.Register("release", "()V", "GetReleaseHandler", ApiSince=30)]
public virtual void Release ();
[<Android.Runtime.Register("release", "()V", "GetReleaseHandler", ApiSince=30)>]
abstract member Release : unit -> unit
override this.Release : unit -> unit
Attributes

Remarks

Releases this controller and the corresponding session. Any operations on this controller after calling this method will be ignored. The devices that are playing media will stop playing it.

Java documentation for android.media.MediaRouter2.RoutingController.release().

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