Class DeviceStateChangeEventArgs
Namespace: Belay.Core
Assembly: Belay.Core.dll
Represents a change in device connection state.
csharp
public class DeviceStateChangeEventArgs : EventArgs
Inheritance
object ← EventArgs ← DeviceStateChangeEventArgs
Inherited Members
EventArgs.Empty, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
DeviceStateChangeEventArgs(DeviceConnectionState, DeviceConnectionState, string?, Exception?)
Represents a change in device connection state.
Properties
Gets the exception that caused the state change, if applicable.
Gets the new connection state after the change.
Gets the previous connection state before the change.
Gets the reason for the state change, if available.
Gets the timestamp when the state change occurred.