IamUtil.UpdateIamSettingsPasswordInvitePairingAsync()

DESCRIPTION

Enable/disable the password invite pairing mode on the device.

DECLARATION

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

PARAMETERS

  • connection: An established connection to the device
  • enabled: Set to true if password invite 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.