IRecordAction interface
录制操作是录制 Skype 用户音频的交互式操作。
- 扩展
属性
| action | 操作类型。 |
| initial |
在录制停止之前允许的最大初始静音。 默认值为 5 秒。 |
| max |
录制的最大持续时间。 默认值为 180 秒。 |
| max |
检测到语音后允许的最大静音。 默认值为 5 秒。 |
| operation |
用于将结果与 ConversationResult 中的操作相关联。 |
| play |
指示是否在开始录制操作之前播放蜂鸣声。 |
| play |
录制之前要播放的提示。 |
| recording |
录制所需的格式。 RecordingFormat 枚举描述了支持的值。 默认值为“wma”。 |
| stop |
用户可按拨号盘停止录制的停止数字。 |
属性详细信息
action
操作类型。
action: string
属性值
string
initialSilenceTimeoutInSeconds
在录制停止之前允许的最大初始静音。 默认值为 5 秒。
initialSilenceTimeoutInSeconds?: number
属性值
number
maxDurationInSeconds
录制的最大持续时间。 默认值为 180 秒。
maxDurationInSeconds?: number
属性值
number
maxSilenceTimeoutInSeconds
检测到语音后允许的最大静音。 默认值为 5 秒。
maxSilenceTimeoutInSeconds?: number
属性值
number
operationId
用于将结果与 ConversationResult 中的操作相关联。
operationId: string
属性值
string
playBeep
指示是否在开始录制操作之前播放蜂鸣声。
playBeep?: boolean
属性值
boolean
playPrompt
recordingFormat
录制所需的格式。 RecordingFormat 枚举描述了支持的值。 默认值为“wma”。
recordingFormat?: string
属性值
string
stopTones
用户可按拨号盘停止录制的停止数字。
stopTones?: string[]
属性值
string[]