IamUtil.isCurrentUserPaired()

DESCRIPTION

Query if the current user is paired or not on a specific device.

This function blocks until it has succeeded.

DECLARATION

    public abstract boolean isCurrentUserPaired(Connection connection)

PARAMETERS

connection:
An established connection to the device

THROWS EXCEPTIONS

IAM_NOT_SUPPORTED:
if Nabto Edge IAM is not supported by the device

RETURNS

true iff the current user is paired with the device