跳轉到主要內容
SetTextToSpeechProfileCompleted 類型狀態變更的特定資訊。

語法

成員

result   PartyStateChangeResult 表示作業已成功,或其失敗的原因。 成功時,PartyLocalChatControl::GetTextToSpeechProfile() 會傳回與此狀態變更相關聯之 PartyLocalChatControl::SetTextToSpeechProfile() 呼叫所提供之設定檔識別碼對應的完整設定檔物件。失敗時,PartyLocalChatControl::GetTextToSpeechProfile() 會傳回 null。 errorDetail   PartyError 診斷值,提供有關任何潛在錯誤狀況的其他疑難排解資訊。 可透過 PartyManager::GetErrorMessage() 擷取此錯誤詳細資料的人類可讀形式。 localChatControl   PartyLocalChatControl* 與此狀態變更相關聯之呼叫中所使用的聊天控制項。 type   PartySynthesizeTextToSpeechType 提供給與此狀態變更相關聯之呼叫的文字轉換語音作業類型。 profileIdentifier   PartyString 提供給與此狀態變更相關聯之呼叫的設定檔識別碼。 asyncIdentifier   void* 提供給與此狀態變更相關聯之呼叫的非同步識別碼。

備註

在 PartyManager::StartProcessingStateChanges() 傳回的任何狀態變更批次中,最多只會傳回一個 PartySetTextToSpeechProfileCompletedStateChange 物件。

需求

標頭: Party.h

另請參閱

Party 成員
PartyLocalChatControl::SetTextToSpeechProfile
最後修改於 2026年10月20日