Client Voice API Reference
Used to obtain information such as tickets required for voice.
API List
| API | Description |
|---|---|
| GetGmeTicket | Request a gme ticket. |
API Details
GetGmeTicket
Request a gme ticket.
/**
* Request a gme ticket.
*
* @param VoiceChannelId A custom ID used to identify the voice channel.
* @param ResultCallback The result callback after the API execution ends, and it will be called in the GAME THREAD. For lifetime safety, it is recommended to use the CreateWeakCallback provided in PgosSDKCpp.h to create a lambda bound to an UObject.
*/
void GetGmeTicket(
const FString& VoiceChannelId,
TFunction<void(const FPgosResult& Ret, const FPgosClientGetGmeTicketResult* Data)> ResultCallback) const;
Parameters:
| Param | Type | Description |
|---|---|---|
| VoiceChannelId | const FString& | A custom ID used to identify the voice channel. |
| ResultCallback | TFunction<void(const FPgosResult& Ret, const FPgosClientGetGmeTicketResult* Data)> | The result callback after the API execution ends, and it will be called in the GAME THREAD. For lifetime safety, it is recommended to use the CreateWeakCallback provided in PgosSDKCpp.h to create a lambda bound to an UObject. |
Return: void