C# Class CyrusBuilt.MonoPi.Components.Sensors.MotionDetectedEventArgs

Motion detected event arguments class.
Inheritance: System.EventArgs
Show file Open project: cyrusbuilt/MonoPi Class Usage Examples

Public Methods

Method Description
MotionDetectedEventArgs ( System.Boolean motion, System.DateTime timestamp ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Sensors.MotionDetectedEventArgs class with a flag indicating whether or not motion was detected and the timestamp of when the state changed.

Method Details

MotionDetectedEventArgs() public method

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Sensors.MotionDetectedEventArgs class with a flag indicating whether or not motion was detected and the timestamp of when the state changed.
public MotionDetectedEventArgs ( System.Boolean motion, System.DateTime timestamp ) : System
motion System.Boolean /// A flag indicating whether or not motion was detected. ///
timestamp System.DateTime /// The timestamp of when the state changed. ///
return System