Skip to content

OnRecordingCompleted

event

Delphi
property OnRecordingCompleted: TOnRecordingCompleted read FOnRecordingCompleted write FOnRecordingCompleted;
C++Builder
__property TOnRecordingCompleted OnRecordingCompleted = {read=FOnRecordingCompleted, write=FOnRecordingCompleted};
typedef void __fastcall (__closure *TOnRecordingCompleted)(System::TObject* Sender, System::UnicodeString FileName, bool Success);
C#
public event OnRecordingCompletedEventHandler OnRecordingCompleted;
public delegate void OnRecordingCompletedEventHandler(object sender, TOnRecordingCompletedEventArgs e);
VB.NET
Public Event OnRecordingCompleted As OnRecordingCompletedEventHandler
Public Delegate Sub OnRecordingCompletedEventHandler(sender As Object, e As TOnRecordingCompletedEventArgs)
C++/Qt
void SetOnRecordingCompleted (TOnRecordingCompletedCb OnRecordingCompletedCb);
typedef void CALLBACK TOnRecordingCompletedCb (void *Object, void *Sender, wchar_t *FileName, BOOL Success);

This TOnRecordingCompleted event occurs after a StopRecording call, when the recording process is completed (successfully or not). This event returns the name of the AVI file created, if any.