wclBluetoothManagerOpen(Boolean) Method |
Opens the Bluetooth Manager and allocated required
hardware resources.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int Open(
bool HandlePairing = true
)
Public Function Open (
Optional HandlePairing As Boolean = true
) As Integer
public:
int Open(
bool HandlePairing = true
)
Parameters
- HandlePairing Boolean (Optional)
- Allows to disable pairing handling by
Bluetooth Framework. Set this to false to disable Bluetooth
Framework pairing. Set to true (the default value) to enable
Bluetooth Framework pairing.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks An application must call this method before using any
of the Bluetooth Framework features.
An application must call this method from its main thread
only.
See Also