Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::ExtensionContext Struct Reference

`#include <AgoraMediaBase.h>`

## Public Member Functions
| ExtensionContext ()

## Public Attributes
bool | isValid
uid_t | uid
const char * | providerName
const char * | extensionName

## Constructor & Destructor Documentation

## ◆ ExtensionContext()

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

## Member Data Documentation

## ◆ isValid

bool agora::rtc::ExtensionContext::isValid

Whether the `uid` in `ExtensionContext` is valid:

- `true`: The `uid` is valid.
- `false`: The `uid` is invalid.

## ◆ uid

uid_t agora::rtc::ExtensionContext::uid

The user ID. 0 represents a local user, while greater than 0 represents a remote user.

## ◆ providerName

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

The name of the extension provider.

## ◆ extensionName

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

The name of the extension.