Skip to content

Constructor DeviceStateChangeEventArgs

Namespace: Belay.Core
Assembly: Belay.Core.dll

DeviceStateChangeEventArgs(DeviceConnectionState, DeviceConnectionState, string?, Exception?)

Represents a change in device connection state.

csharp
public DeviceStateChangeEventArgs(DeviceConnectionState oldState, DeviceConnectionState newState, string? reason = null, Exception? exception = null)

Parameters

oldState DeviceConnectionState

newState DeviceConnectionState

reason string?

exception Exception?

Released under the Apache License 2.0.