Agora Java API Reference for Android

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

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

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

## Detailed Description

The definition of extension context types

## Member Data Documentation

## ◆ isValid

boolean io.agora.rtc2.ExtensionContext.isValid

Whether the uid is valid.

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

## ◆ uid

int io.agora.rtc2.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.