RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.StartRecording Method

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

Pascal
procedure StartRecording;
C++
__fastcall StartRecording();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!