contents.gifindex.gifprev1.gifnext1.gif

PlayVoiceAsync method

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

Type

Arguments: VoiceFileName BSTR

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

Property interactions: This method is sensitive to the PlayGain property, PlayDTMFAbort property, and the VoiceFormat 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 AagConPlayVoice.