BluetoothSocket.Connect Method

Definition

Attempt to connect to a remote device.

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

Exceptions

on error, for example connection failure

Remarks

Java documentation for android.bluetooth.BluetoothSocket.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