Partager via


WifiP2pManager.Channel.Close Method

Definition

Close the current P2P connection and indicate to the P2P service that connections created by the app can be removed.

[Android.Runtime.Register("close", "()V", "GetCloseHandler", ApiSince=27)]
public virtual void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler", ApiSince=27)>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Remarks

Close the current P2P connection and indicate to the P2P service that connections created by the app can be removed.

Java documentation for android.net.wifi.p2p.WifiP2pManager.Channel.close().

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