IamUtil.UpdateIamSettingsLocalOpenPairingAsync()

DESCRIPTION

Enable/disable the local open pairing mode on the device.

DECLARATION

System.Threading.Tasks.Task UpdateIamSettingsLocalOpenPairingAsync(Nabto.Edge.Client.IConnection, Boolean)

PARAMETERS

  • connection: An established connection to the device
  • enabled: Set to true if local open pairing mode should be enabled, false if it should be disabled.

ERRORS

  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if the user is not allowed to perform this operation.
  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if Nabto Edge IAM is not supported by the device.