BluetoothDevice.CreateBond Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Start the bonding (pairing) process with the remote device.
[Android.Runtime.Register("createBond", "()Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool CreateBond ();
[<Android.Runtime.Register("createBond", "()Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.CreateBond : unit -> bool
Returns
false on immediate error, true if bonding will begin
- Attributes
Remarks
Java documentation for android.bluetooth.BluetoothDevice.createBond()
.
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.