Reference Library
StartRecording Method (fileName, duration, toneTermination, userState)
NamespacesAvaya.ApplicationEnablement.DMCCMediaStartRecording(String, Int32, Boolean, Object)
Send a Start Recording XML message to the server
Declaration Syntax
C#Visual BasicVisual C++
public int StartRecording(
	string fileName,
	int duration,
	bool toneTermination,
	Object userState
)
Public Function StartRecording ( _
	fileName As String, _
	duration As Integer, _
	toneTermination As Boolean, _
	userState As Object _
) As Integer
public:
virtual int StartRecording(
	String^ fileName, 
	int duration, 
	bool toneTermination, 
	Object^ userState
) sealed
Parameters
fileName (String)
Name of the file to be recorded. If "" then the server will pick a name.
duration (Int32)
Duration of the recorded file (in milliseconds).
toneTermination (Boolean)
Set this to true is you want to stop recording if a tone is detected.
userState (Object)
Any object the application would like returned with the response.
Return Value
The Invoke ID of the XML message sent to the server.

Assembly: ServiceProvider (Module: ServiceProvider)