Show / Hide Table of Contents

Class DeviceStateEventArgs

Class for overmind events related to device state.

Inheritance
object
LogEventArgs
OvermindEventArgs
DeviceStateEventArgs
Inherited Members
LogEventArgs.Source
LogEventArgs.MessageType
LogEventArgs.Message
LogEventArgs.ToString()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Microsoft.XboxStudios.BotBrain.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public class DeviceStateEventArgs : OvermindEventArgs

Constructors

View Source

DeviceStateEventArgs()

Initializes a new instance of the DeviceStateEventArgs class.

Declaration
public DeviceStateEventArgs()
View Source

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 Source

OldState

Gets the old device state.

Declaration
[JsonIgnore]
public DeviceState? OldState { get; }
Property Value
Type Description
DeviceState
View Source

State

Gets the device state.

Declaration
[JsonIgnore]
public DeviceState? State { get; }
Property Value
Type Description
DeviceState
  • View Source
In this article
Back to top Generated by DocFX