IRecordAction interface
Record action is interactive action where Skype user audio is recorded.
- Extends
Properties
| action | Type of action. |
| initial |
Maximum initial silence allowed before the recording is stopped. The default value is 5 seconds. |
| max |
Maximum duration of recording. The default value is 180 seconds. |
| max |
Maximum silence allowed after the speech is detected. The default value is 5 seconds. |
| operation |
Used to correlate outcomes to actions in ConversationResult. |
| play |
Indicates whether to play beep sound before starting a recording action. |
| play |
A prompt to be played before the recording. |
| recording |
The format expected for the recording. The RecordingFormat enum describes the supported values. The default value is “wma”. |
| stop |
Stop digits that user can press on dial pad to stop the recording. |
Property Details
action
Type of action.
action: string
Property Value
string
initialSilenceTimeoutInSeconds
Maximum initial silence allowed before the recording is stopped. The default value is 5 seconds.
initialSilenceTimeoutInSeconds?: number
Property Value
number
maxDurationInSeconds
Maximum duration of recording. The default value is 180 seconds.
maxDurationInSeconds?: number
Property Value
number
maxSilenceTimeoutInSeconds
Maximum silence allowed after the speech is detected. The default value is 5 seconds.
maxSilenceTimeoutInSeconds?: number
Property Value
number
operationId
Used to correlate outcomes to actions in ConversationResult.
operationId: string
Property Value
string
playBeep
Indicates whether to play beep sound before starting a recording action.
playBeep?: boolean
Property Value
boolean
playPrompt
A prompt to be played before the recording.
playPrompt?: IPlayPromptAction
Property Value
recordingFormat
The format expected for the recording. The RecordingFormat enum describes the supported values. The default value is “wma”.
recordingFormat?: string
Property Value
string
stopTones
Stop digits that user can press on dial pad to stop the recording.
stopTones?: string[]
Property Value
string[]