Agora Java API Reference for Android

Public Attributes | List of all members
agora::rtc::ExtensionContext Struct Reference

`#include <AgoraMediaBase.h>`

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

## Detailed Description

The definition of extension context types.

## 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.