CallControlAPIChangeRecordingStateAsync Method

changing recording state on behalf of participant

Definition

Namespace: TCX.PBXAPI
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public static Task<CallControlResult> ChangeRecordingStateAsync(
	this ActiveConnection ac,
	RecordingAction newState,
	string folder = ""
)

Parameters

ac  ActiveConnection
the call connection
newState  RecordingAction
desired state of the recording
folder  String  (Optional)
if recording is started, it could be placed ro specified subfolder of recordings

Return Value

TaskCallControlResult

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ActiveConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

NotImplementedException

See Also