Perform Password Invite pairing asynchronously.
The specified AsyncIamResultReceiver closure is invoked with IamError.OK upon successful completion or with an
error if an error occurs. See the
pairPasswordInvite() function for details about possible error codes.
static public func pairPasswordInviteAsync(connection: Connection, username: String, password: String, closure: @escaping AsyncIamResultReceiver)
- An established connection to the device this client should be paired with
- Username for the invited user
- Password for the invited user
- Invoked when the pairing attempt succeeds or fails.