Edit

Share via


IRecordAction interface

Record action is interactive action where Skype user audio is recorded.

Extends

Properties

action

Type of action.

initialSilenceTimeoutInSeconds

Maximum initial silence allowed before the recording is stopped. The default value is 5 seconds.

maxDurationInSeconds

Maximum duration of recording. The default value is 180 seconds.

maxSilenceTimeoutInSeconds

Maximum silence allowed after the speech is detected. The default value is 5 seconds.

operationId

Used to correlate outcomes to actions in ConversationResult.

playBeep

Indicates whether to play beep sound before starting a recording action.

playPrompt

A prompt to be played before the recording.

recordingFormat

The format expected for the recording. The RecordingFormat enum describes the supported values. The default value is “wma”.

stopTones

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[]