Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.ExtensionContext Class Reference

The context information of the extension. More...

## Public Member Functions
| ExtensionContext (int uid, String providerName, String extensionName)

## Public Attributes
boolean | isValid
int | uid
String | providerName
String | extensionName

## Detailed Description

The context information of the extension.

## Member Data Documentation

## ◆ isValid

boolean io.agora.rtc2.ExtensionContext.isValid

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

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

## ◆ uid

int io.agora.rtc2.ExtensionContext.uid

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

## ◆ providerName

String io.agora.rtc2.ExtensionContext.providerName

The name of the extension provider.

## ◆ extensionName

String io.agora.rtc2.ExtensionContext.extensionName

The name of the extension.