Enum DeviceStatus
- Namespace
- NixUniversalSDK
- Assembly
- NixUniversalSDK.dll
Enum describing the possible causes of a Disconnected event. See DeviceScannerStateExtensions for extension methods.
public enum DeviceStatus
- Extension Methods
Fields
ErrorDroppedConnection = 4
The device has disconnected unexpectedly (possibly due to low Bluetooth signal strength or low battery level).
ErrorInternal = 6
The device has disconnected for an unknown reason (internal SDK error).
ErrorLicense = 7
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 = 1
The device connection attempt was cancelled because the maximum number of attempts was reached.
ErrorTimeout = 2
The device connection attempt was cancelled due to a timeout error.
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 = 3
The device connection attempt was cancelled because the specified device type was not supported.
Success = 0
The device has disconnected normally (e.g. - via calling
IDeviceCompat/disconnect()
).