Skip to content

OnRecordingReadyToStart

event

Delphi
property OnRecordingReadyToStart: TOnEventNotification read FOnRecordingReadyToStart write FOnRecordingReadyToStart;
C++Builder
__property TOnEventNotification OnRecordingReadyToStart = {read=FOnRecordingReadyToStart, write=FOnRecordingReadyToStart};
typedef void __fastcall (__closure *TOnEventNotification)(System::TObject* Sender);
C#
public event EventHandler OnRecordingReadyToStart;
VB.NET
Public Event OnRecordingReadyToStart As EventHandler
C++/Qt
void SetOnRecordingReadyToStart (TOnRecordingReadyToStartCb OnRecordingReadyToStartCb);
typedef void CALLBACK TOnRecordingReadyToStartCb (void *Object, void *Sender);

Occurs when the recording is ready to start.

Remarks

This event lets start the recording at a given time.

When calling StartRecording, a delay is necessary to create/open the recording file and build the recording graph.

When these operations are completed, and before the recording starts, this event occurs and holds the recording until exiting.

At this point:

  • it is possible to show a dialog asking to start or cancel recording (see the MainDemo project from sample code).

  • invoke ResumeRecording() to start the recording, or StopRecording() to cancel.