IRecordOutcome interface
レコードの結果は、録音オーディオ アクションの結果を返します。 RecordOutcome はマルチパート コンテンツとして返され、マルチパートの最初の部分にはアクションの結果が含まれますが、2 番目の部分には録音されたオーディオを表すバイナリ ストリームが含まれます。 audo ストリームは、IConversationResult.recordedAudio プロパティを介して使用できます。
- Extends
プロパティ
| completion |
完了の理由の RecordingCompletionReason 列挙値。 |
| failure |
エラーの理由。 |
| id | 操作の ID。 |
| length |
録音されたオーディオの長さ (秒単位)。 |
| outcome | アクションの成功または失敗を示します。 |
| type | 結果の種類。 |
プロパティの詳細
completionReason
完了の理由の RecordingCompletionReason 列挙値。
completionReason: string
プロパティ値
string
failureReason
エラーの理由。
failureReason?: string
プロパティ値
string
id
操作の ID。
id: string
プロパティ値
string
lengthOfRecordingInSecs
録音されたオーディオの長さ (秒単位)。
lengthOfRecordingInSecs: number
プロパティ値
number
outcome
アクションの成功または失敗を示します。
outcome: string
プロパティ値
string
type
結果の種類。
type: string
プロパティ値
string