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

# PartyLocalChatControl::GetAvailableTextToSpeechProfiles

> このチャット コントロールのテキスト読み上げプロファイルを取得します。

このチャット コントロールのテキスト読み上げプロファイルを取得します。

## 構文

```cpp theme={null}
PartyError GetAvailableTextToSpeechProfiles(  
    uint32_t* profileCount,  
    PartyTextToSpeechProfileArray* profiles  
)  
```

### パラメーター

**`profileCount`**   uint32\_t\*\
*出力*

利用可能なプロファイルの出力数。

**`profiles`**   [PartyTextToSpeechProfileArray\*](/services/playfab/multiplayer/networking/reference/typedefs)\
*サイズ `*profileCount` のライブラリ割り当ての出力配列*

利用可能なプロファイルを含む、ライブラリ割り当ての出力配列。

### 戻り値

PartyError

呼び出しが成功した場合は `c_partyErrorSuccess`、それ以外の場合はエラー コード。エラー コードの人間が読める形式は、[PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage) で取得できます。

## 解説

このメソッドは、最後に成功した [PopulateAvailableTextToSpeechProfiles()](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_populateavailabletexttospeechprofiles) 操作によってキャッシュされた結果を同期的に返します。<br /><br /> 返される配列は、次回 [PartyManager::StartProcessingStateChanges()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_startprocessingstatechanges) が呼び出されるまでのみ有効です。

## 要件

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

## 関連項目

[PartyLocalChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol)\
[PartyLocalChatControl::PopulateAvailableTextToSpeechProfiles](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_populateavailabletexttospeechprofiles)


## Related topics

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