IamUtil.pairLocalInitialCallback()

DESCRIPTION

Perform Local Initial pairing, assigning the default initial username configured on the device (typically “admin”). Runs asynchronously with a callback.

In this mode, the initial user can be paired on the local network without providing a username or password - and only the initial user. This is a typical bootstrap scenario to pair the admin user (device owner).

Error information is sent to the callback.

Read more here: https://docs.nabto.com/developer/guides/iam/pairing.html#initial-local

DECLARATION

    public abstract void pairLocalInitialCallback(Connection connection, IamCallback callback)

PARAMETERS

connection:
An established connection to the device this client should be paired with
callback:
The callback that will be run once the function has completed successfully or erroneously.