Class DeviceStateEventArgs
Class for overmind events related to device state.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public class DeviceStateEventArgs : OvermindEventArgs
Constructors
View SourceDeviceStateEventArgs()
Initializes a new instance of the DeviceStateEventArgs class.
Declaration
public DeviceStateEventArgs()
DeviceStateEventArgs(DeviceState, DeviceState?)
Initializes a new instance of the DeviceStateEventArgs class.
Declaration
public DeviceStateEventArgs(DeviceState state, DeviceState? oldState = null)
Parameters
Type | Name | Description |
---|---|---|
DeviceState | state | The device state. |
DeviceState | oldState | The old device state. |
Properties
View SourceOldState
Gets the old device state.
Declaration
[JsonIgnore]
public DeviceState? OldState { get; }
Property Value
Type | Description |
---|---|
DeviceState |
State
Gets the device state.
Declaration
[JsonIgnore]
public DeviceState? State { get; }
Property Value
Type | Description |
---|---|
DeviceState |