Freigeben über


BluetoothGatt.Connect Method

Definition

Connect back to remote device.

[Android.Runtime.Register("connect", "()Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool Connect ();
[<Android.Runtime.Register("connect", "()Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.Connect : unit -> bool

Returns

true, if the connection attempt was initiated successfully

Attributes

Remarks

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

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