contents.gifindex.gifprev1.gifnext1.gif

RecordVoiceAsync method

This is the asynchronous form of the RecordVoice method. Please see that topic for a discussion of how to use this method.

Type

Arguments: VoiceFileName BSTR

MaxRecordTime (in seconds) short integer

Returns: A long integer status code (see ActiveAG Status codes)

Property interactions: This method is sensitive to the RecordDTMFAbort property, the RecordGain property, the RecordNoVoiceTime property and the RecordSilenceTime property.

Note: This method completes asynchronously. If started successfully, an AsyncCmdDone event will be fired to your program. When this happens, the CmdCode value in that event will be set to AagConRecordVoice.