Redigera

PartyLocalChatControl::GetAvailableTextToSpeechProfiles

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Gets the text-to-speech profiles for this chat control.

Syntax

PartyError GetAvailableTextToSpeechProfiles(  
    uint32_t* profileCount,  
    PartyTextToSpeechProfileArray* profiles  
)  

Parameters

profileCount   uint32_t*
output

The output number of available profiles.

profiles   PartyTextToSpeechProfileArray*
library-allocated output array of size *profileCount

A library-allocated output array containing the available profiles.

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().

Remarks

This method synchronously returns the result cached by the last successful PopulateAvailableTextToSpeechProfiles() operation.

The returned array is only valid until the next call to PartyManager::StartProcessingStateChanges().

Requirements

Header: Party.h

See also

PartyLocalChatControl
PartyLocalChatControl::PopulateAvailableTextToSpeechProfiles