Interface IDeviceCompatEvents
Interface defining the events for a IDeviceCompat instance on a connection state change, battery state change, or external power state change
Namespace: NixUniversalSDK
Assembly: NixUniversalSDK.dll
Syntax
public interface IDeviceCompatEvents
Events
BatteryStateChanged
Called when the Nix device has updated its battery level measurement
Declaration
event EventHandler<BatteryStateEventArgs> BatteryStateChanged
Event Type
Type | Description |
---|---|
EventHandler<BatteryStateEventArgs> |
Connected
Called when the Nix device has completed the connection process and is now idle
Declaration
event EventHandler Connected
Event Type
Type | Description |
---|---|
EventHandler |
Disconnected
Called when the Nix device has disconnected from the host
Declaration
event EventHandler<DeviceStatusArgs> Disconnected
Event Type
Type | Description |
---|---|
EventHandler<DeviceStatusArgs> |
ExtPowerStateChanged
Called when the Nix device has been connected or disconnected from an external power source.
Declaration
event EventHandler<ExtPowerStateEventArgs> ExtPowerStateChanged
Event Type
Type | Description |
---|---|
EventHandler<ExtPowerStateEventArgs> |