Skip to content

OnMotionNotDetected

event

Delphi
property OnMotionNotDetected: TOnMotionNotDetected read FOnMotionNotDetected write FOnMotionNotDetected;
C++Builder
__property TOnMotionNotDetected OnMotionNotDetected = {read=FOnMotionNotDetected, write=FOnMotionNotDetected};
typedef void __fastcall (__closure *TOnMotionNotDetected)(System::TObject* Sender, Vcl::Graphics::TBitmap* FrameBitmap, System::LongWord FrameNumber, LargeInteger FrameTime, System::LongInt FrameId, bool &CaptureFrame);
C#
public event OnMotionNotDetectedEventHandler OnMotionNotDetected;
public delegate void OnMotionNotDetectedEventHandler(object sender, TOnMotionNotDetectedEventArgs e);
VB.NET
Public Event OnMotionNotDetected As OnMotionNotDetectedEventHandler
Public Delegate Sub OnMotionNotDetectedEventHandler(sender As Object, e As TOnMotionNotDetectedEventArgs)
C++/Qt
void SetOnMotionNotDetected (TOnMotionNotDetectedCb OnMotionNotDetectedCb);
typedef void CALLBACK TOnMotionNotDetectedCb (void *Object, void *Sender, HBITMAP FrameBitmap, unsigned int FrameNumber, __int64 FrameTime, int FrameId, BOOL *CaptureFrame);

This TOnMotionNotDetected event occurs when a frame is received and no motion is detected.

Note: be sure to activate the motion detector by enabling MotionDetector_Enabled.