BluetoothDevice.CreateRfcommSocketToServiceRecord(UUID)
BluetoothDevice.CreateRfcommSocketToServiceRecord(UUID)
Method
Definition
Create an RFCOMM BluetoothSocket ready to start a secure outgoing connection to this remote device using SDP lookup of uuid.
[Android.Runtime.Register("createRfcommSocketToServiceRecord", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothSocket;", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH")]
public Android.Bluetooth.BluetoothSocket CreateRfcommSocketToServiceRecord (Java.Util.UUID uuid);
member this.CreateRfcommSocketToServiceRecord : Java.Util.UUID -> Android.Bluetooth.BluetoothSocket
Parameters
Returns
Exceptions
on error, for example Bluetooth not available, or insufficient permissions
Remarks
Portions of this page are modifications based on work created and shared by the