Table of Contents

Struct SensorState

Namespace
SenseAnywhere.Sdk.Events
Assembly
SenseAnywhere.Sdk.dll

Represents the state of a sensor.

public struct SensorState
Inherited Members

Constructors

SensorState(ReedState, MotionState)

Initializes a new instance of the SensorState struct.

public SensorState(ReedState reed, MotionState motion)

Parameters

reed ReedState

The state of the sensor's reed switch

motion MotionState

The motion state of the sensor.

Properties

Motion

Gets the motion state of the sensor.

public readonly MotionState Motion { get; }

Property Value

MotionState

Reed

Gets the state of the sensor's reed switch.

public readonly ReedState Reed { get; }

Property Value

ReedState