PartyTextToSpeechProfile::GetLanguageCode

Gets the language code associated with this profile.

Syntax

PartyError GetLanguageCode(  
    PartyString* languageCode  
)  

Parameters

languageCode   PartyString*
library-allocated output

The output profile language. The memory for the string remains valid for the lifetime of the profile.

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().

Requirements

Header: Party.h

See also

PartyTextToSpeechProfile