Perform Local Initial pairing asynchronously.
The specified AsyncIamResultReceiver closure is invoked with IamError.OK upon successful completion or with an error if an error occurs. See the
pairLocalInitial() function for details about possible error codes.
static public func pairLocalInitialAsync(connection: Connection, closure: @escaping AsyncIamResultReceiver)
- An established connection to the device this client should be paired with
- Invoked when the connect attempt succeeds or fails.
Throws the following errors: