Vcl.MPlayer.TMediaPlayer.StartRecording

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure StartRecording;

C++

void __fastcall StartRecording();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.MPlayer.pas
Vcl.MPlayer.hpp
Vcl.MPlayer TMediaPlayer

Description

Begins recording from the current Position or from the position specified in StartPos.

StartRecording is called when the Record button on the media player control is clicked at runtime.

Upon completion, StartRecording stores a numerical error code in the Error property and the corresponding error message in the ErrorMessage property.

The Wait property determines whether control is returned to the application before the StartRecording method has completed. The Notify property determines whether StartRecording generates an OnNotify event.

By default, the Notify property becomes true, and the Wait property becomes false upon completion of the StartRecording method. However, if these properties have been set to specific values prior to calling StartRecording, they remain unchanged.

See Also