> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyLocalChatControl::PopulateAvailableTextToSpeechProfiles

> ローカル チャット コントロールのサポートされているテキスト読み上げプロファイルのリストを設定します。

ローカル チャット コントロールのサポートされているテキスト読み上げプロファイルのリストを設定します。

## 構文

```cpp theme={null}
PartyError PopulateAvailableTextToSpeechProfiles(  
    void* asyncIdentifier  
)  
```

### パラメーター

**`asyncIdentifier`**   void\*\
*オプション*

完了状態の変化をこの呼び出しに関連付けるために使用できる、オプションでアプリ定義のポインター サイズのコンテキスト値。

### 戻り値

PartyError

非同期操作が開始された場合は `c_partyErrorSuccess`、それ以外の場合はエラー コード。このメソッドが失敗した場合、関連する状態変化は生成されません。エラー コードの人間が読める形式は、[PartyManager::GetErrorMessage()](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md) で取得できます。

## 解説

これは非同期操作です。完了時に [PartyPopulateAvailableTextToSpeechProfilesCompletedStateChange](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/structs/partypopulateavailabletexttospeechprofilescompletedstatechange.md) が [PartyManager::StartProcessingStateChanges()](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_startprocessingstatechanges.md) を介して提供されます。\
\
&#x20;GetAvailableTextToSpeechProfiles() を呼び出すには、非同期操作が正常に完了している必要があります。\
\
&#x20;テキスト読み上げ合成機能は内部で、利用可能なリージョンと待機時間測定の推定値を使用してサービスの使用を最適化します。[PartyOption::RegionUpdateConfiguration](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/enums/partyoption.md) オプションを使用して [PartyRegionUpdateMode::Deferred](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/enums/partyregionupdatemode.md) の更新モードを構成した場合、利用可能なリージョンの集合の取得およびそれらへの接続品質の測定がまだ開始されていない可能性があり、または最後の更新が構成された更新間隔の有効期間を超えている可能性があります。ローカル デバイスが現在ネットワークに接続中でも接続もされていない場合、PopulateAvailableTextToSpeechProfiles() は、この呼び出しの [PartyPopulateAvailableTextToSpeechProfilesCompletedStateChange](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/structs/partypopulateavailabletexttospeechprofilescompletedstatechange.md) 完了の前に、遅延されたリージョン更新が確実に開始され、関連する [PartyRegionsChangedStateChange](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyregionschangedstatechange.md) が提供されるようにします。

## 要件

**ヘッダー:** Party.h

## 関連項目

[PartyLocalChatControl](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md)\
[PartyLocalChatControl::GetAvailableTextToSpeechProfiles](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getavailabletexttospeechprofiles.md)\
[PartyLocalChatControl::SetTextToSpeechProfile](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settexttospeechprofile.md)\
[PartyLocalChatControl::GetTextToSpeechProfile](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_gettexttospeechprofile.md)


## Related topics

- [PartyLocalChatControl::GetAvailableTextToSpeechProfiles](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getavailabletexttospeechprofiles.md)
- [PartyTextToSpeechProfile](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/partytexttospeechprofile.md)
- [PartyPopulateAvailableTextToSpeechProfilesCompletedStateChange](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/structs/partypopulateavailabletexttospeechprofilescompletedstatechange.md)
- [PartyRegionUpdateMode](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/enums/partyregionupdatemode.md)
- [PlayFab Party テキスト読み上げおよびテキスト入力 UX ガイドライン](https://docs.xbox.com/ja-jp/services/playfab/community/voice-communications/party-text-to-speech-ux-guidelines.md)
