Udostępnij za pośrednictwem


BluetoothGatt.Disconnect Method

Definition

Disconnects an established connection, or cancels a connection attempt currently in progress.

[Android.Runtime.Register("disconnect", "()V", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public void Disconnect ();
[<Android.Runtime.Register("disconnect", "()V", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.Disconnect : unit -> unit
Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGatt.disconnect().

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