Redigera

PartyLocalChatControl::SetTextChatOptions

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

Configures the text chat options associated with text chat for this chat control.

Syntax

PartyError SetTextChatOptions(  
    PartyTextChatOptions options,  
    void* asyncIdentifier  
)  

Parameters

options   PartyTextChatOptions

Options associated with text chat, such as whether incoming text chat should be translated.

asyncIdentifier   void*
optional

An optional, app-defined, pointer-sized context value that can be used to associate the completion state change with this call.

Return value

PartyError

c_partyErrorSuccess if the asynchronous operation to set the chat text options began, or an error code otherwise. If this method fails, no related state changes will be generated. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().

Requirements

Header: Party.h

See also

PartyLocalChatControl