Creates a Connect request that will try to connect to the given Bluetooth LE device.
Call
ConnectRequest#enqueue() or
ConnectRequest#await() in order to execute
the request.
This method returns a
ConnectRequest which can be used to set completion
and failure callbacks. The completion callback (done) will be called after the initialization
is complete, after
BleManagerCallbacks#onDeviceReady(BluetoothDevice) has been
called.
Calling
ConnectRequest#await() will make this request
synchronous (the callbacks set will be ignored, instead the synchronous method will
return or throw an exception).
For asynchronous call usage,
ConnectRequest#enqueue() must be called on the returned
request.
The callbacks observer must be set with
#setGattCallbacks(BleManagerCallbacks)before calling this method.