IamUtil.isCurrentUserPaired()

DESCRIPTION

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

DECLARATION

    static public func isCurrentUserPaired(connection: Connection) throws -> Bool 

PARAMETERS

connection:
An established connection to the device

THROWS ERRORS

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

RETURNS

true iff the current user is paired with the device