Perform Local Open pairing, requesting the specified username. Runs asynchronously with a callback.
Local open pairing uses the trusted local network (LAN) pairing mechanism. No password is required for pairing and no invitation is needed, anybody on the LAN can initiate pairing.
Read more here: https://docs.nabto.com/developer/guides/iam/pairing.html#open-local
public abstract void pairLocalOpenCallback(Connection connection, String desiredUsername, IamCallback callback)
- An established connection to the device this client should be paired with
- Assign this username on the device if available (pairing fails with .USERNAME_EXISTS if not)
- The callback that will be run once the function has completed successfully or erroneously.