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 voice_channel_id A custom ID used to identify the voice channel.
* @param result_callback The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD.
*/
void GetGmeTicket(
const pgos::pstring& voice_channel_id,
PgosDataCallback<GetGmeTicketResult> result_callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| voice_channel_id | const std::string& | A custom ID used to identify the voice channel. |
| result_callback | PgosDataCallback<GetGmeTicketResult> | The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD. |
Return: void