chat_manager::singleton_instance
Retrieves a reference to the Game Chat 2 singleton instance.
Syntax
chat_manager& singleton_instance(
)
Parameters
None.
Return value
Type: chat_manager&
A reference to the Game Chat 2 singleton instance.
Remarks
This method returns a reference to the Game Chat 2 singleton instance, with which you can include Game Chat 2 functionality in your game. The chat_manager instance can be used to add voice and text communications to your app, allowing your app to manage local and remote game users, process data from both local and remote Game Chat 2 instances, and process state changes such as text message receipts and chat transcriptions. For more information about using the Game Chat 2 singleton instance, see Using the Game Chat 2 C++ API.
Requirements
Header: GameChat2.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles