Agora C++ API Reference for All Platforms
Public Member Functions | Public Attributes | List of all members
agora::rtc::ExtensionContext Struct Reference

Public Member Functions

 ExtensionContext ()
 

Public Attributes

bool isValid
 
uid_t uid
 
const char * providerName
 
const char * extensionName
 

Detailed Description

The definition of extension context types.

Constructor & Destructor Documentation

◆ ExtensionContext()

agora::rtc::ExtensionContext::ExtensionContext ( )
inline

Member Data Documentation

◆ isValid

bool agora::rtc::ExtensionContext::isValid

Whether the uid is valid.

  • true: The uid is valid.
  • false: The uid is invalid.

◆ uid

uid_t agora::rtc::ExtensionContext::uid

The ID of the user. A uid of 0 indicates the local user, and a uid greater than 0 represents a remote user.

◆ providerName

const char* agora::rtc::ExtensionContext::providerName

The provider name of the current extension.

◆ extensionName

const char* agora::rtc::ExtensionContext::extensionName

The extension name of the current extension.