C# Class TelAPI.InboundXML.Element.Record

Inheritance: ELement
Exibir arquivo Open project: TelAPI/telapi-dotnet Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Create ( string action ) : Record

The Record element is used to record audio during a call.

Create ( string action, HttpMethod method, long timeout, string finishOnKey, long maxLength, bool transcribe, string transcribeCallback, bool playBeep, bool bothLegs, RecordingFileFormat fileFormat ) : Record

The Record element is used to record audio during a call.

Record ( ) : System

Method Details

Create() public static method

The Record element is used to record audio during a call.
public static Create ( string action ) : Record
action string URL where some parameters specific to will be sent for further processing.
return Record

Create() public static method

The Record element is used to record audio during a call.
public static Create ( string action, HttpMethod method, long timeout, string finishOnKey, long maxLength, bool transcribe, string transcribeCallback, bool playBeep, bool bothLegs, RecordingFileFormat fileFormat ) : Record
action string URL where some parameters specific to will be sent for further processing.
method HttpMethod Specifies the method to use when requesting the action or transcribeCallback URL.
timeout long The number of seconds Record should wait during silence before ending.
finishOnKey string The key a caller can press to end the Record.
maxLength long The maximum length in seconds a recording should be.
transcribe bool Boolean value specifying if the recording should be transcribed.
transcribeCallback string URL where the recording transcription will be sent.
playBeep bool Boolean value specifying if a beep should be played when the recording begins.
bothLegs bool Boolean value specifying if both call legs should be recorded.
fileFormat RecordingFileFormat The recording file format. Can be mp3 or wav. Default is mp3.
return Record

Record() public method

public Record ( ) : System
return System