Developer Documentation Library > Dialer SDK > UNICOM Intelligence Dialer SDK components > Testing > Interview simulator > RunAudioOperation
 
RunAudioOperation
Syntax
RunAudioOperation(Operation As String, FileName As String) As Long
Type
Method
Parameters
Operation
Operations are PlayAudio, StopAudio, StartRecording, StopRecording, PlayDTMF.
FileName
Name of file to play or record.
For DTMF, this is the string of tones to play.
You might want to use UNICOM Intelligence Interviewer name format for recordings: dimensions\<ProjectName>\q-<SampleId>-<QuestionName>.wav
Return Value
Result code from AudioOperationXml.
Description
Calls ISessionEngine.RunAudioOperation() which calls IDialingProvider.RunAudioOperation().
See also
GetSpecificContact