Show / Hide Table of Contents

# Enum DeviceStatus

Enum describing the possible causes of a Disconnected event. See DeviceScannerStateExtensions for extension methods.

###### Namespace: NixUniversalSDK

###### Assembly: NixUniversalSDK.dll

##### Syntax

    public enum DeviceStatus

### Fields

Name | Description
--- | ---
ErrorDroppedConnection | The device has disconnected unexpectedly (possibly due to low Bluetooth signal strength or low battery level).
ErrorInternal | The device has disconnected for an unknown reason (internal SDK error).
ErrorLicense | The device disconnected due to a problem with the LicenseManager. Check that the license is active via State and that the device type is supported via IsDeviceTypeSupported(DeviceType).
ErrorMaxAttempts | The device connection attempt was cancelled because the maximum number of attempts was reached.
ErrorTimeout | The device connection attempt was cancelled due to a timeout error.
ErrorUnauthorized | The device connection attempt was cancelled because the specified device was not authorized for this build of the Nix SDK. Check that the device allocation code and/or serial number is expected to be authorized for this build.
ErrorUnsupportedDevice | The device connection attempt was cancelled because the specified device type was not supported.
Success | The device has disconnected normally (e.g. - via calling `IDeviceCompat/disconnect()`).

### Extension Methods

DeviceStatusExtensions.GetName(DeviceStatus)