共用方式為


StartTranscriptionOptions interface

開始轉譯的選項

Extends

屬性

locale

定義轉譯的地區設定,例如 en-US

operationCallbackUrl

設置一個回調 URL,該 URL 將覆蓋 CreateCall/AnswerCall 為此作設置的默認回調 URI。 此設定是個別動作。 如果未設定,則會使用 CreateCall/AnswerCall 所設定的預設回呼 URI。

operationContext

識別作業內容的值。

speechRecognitionModelEndpointId

部署自定義模型的端點。

繼承的屬性

abortSignal

可用來中止要求的訊號。

onResponse

每次從伺服器收到回應時,要呼叫的函式,同時執行要求的作業。 可以多次呼叫。

requestOptions

建立和傳送此作業之 HTTP 要求時所使用的選項。

serializerOptions

覆寫串行化/取消串行化行為的選項。

tracingOptions

啟用追蹤時所使用的選項。

屬性詳細資料

locale

定義轉譯的地區設定,例如 en-US

locale?: string

屬性值

string

operationCallbackUrl

設置一個回調 URL,該 URL 將覆蓋 CreateCall/AnswerCall 為此作設置的默認回調 URI。 此設定是個別動作。 如果未設定,則會使用 CreateCall/AnswerCall 所設定的預設回呼 URI。

operationCallbackUrl?: string

屬性值

string

operationContext

識別作業內容的值。

operationContext?: string

屬性值

string

speechRecognitionModelEndpointId

部署自定義模型的端點。

speechRecognitionModelEndpointId?: string

屬性值

string

繼承的屬性詳細資料

abortSignal

可用來中止要求的訊號。

abortSignal?: AbortSignalLike

屬性值

繼承自 OperationOptions.abortSignal

onResponse

每次從伺服器收到回應時,要呼叫的函式,同時執行要求的作業。 可以多次呼叫。

onResponse?: RawResponseCallback

屬性值

繼承自 OperationOptions.onResponse

requestOptions

建立和傳送此作業之 HTTP 要求時所使用的選項。

requestOptions?: OperationRequestOptions

屬性值

繼承自 OperationOptions.requestOptions

serializerOptions

覆寫串行化/取消串行化行為的選項。

serializerOptions?: SerializerOptions

屬性值

繼承自 OperationOptions.serializerOptions

tracingOptions

啟用追蹤時所使用的選項。

tracingOptions?: OperationTracingOptions

屬性值

繼承自 OperationOptions.tracingOptions