IamUtil.getDeviceDetails()
DESCRIPTION
Retrieve device information that typically does not need a paired user.
This function blocks until it has succeeded.
DECLARATION
public abstract DeviceDetails getDeviceDetails(Connection connection)
PARAMETERS
connection:- An established connection to the device
THROWS EXCEPTIONS
IamException:- with IamError
BLOCKED_BY_DEVICE_CONFIGURATIONif the device configuration does not allow retrieving this list (theIAM:GetPairingaction is not set for the Unpaired role) IamException:- with IamError
IAM_NOT_SUPPORTEDif Nabto Edge IAM is not supported by the device
RETURNS
The device details.