# ExtensionContext (/zh-CN/api-reference/rtc/react-native/class-extensioncontext)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```ts
export class ExtensionContext {
isValid?: boolean;
uid?: number;
providerName?: string;
extensionName?: string;
}
```
## 属性 [#属性]
[ExtensionContext](/zh-CN/api-reference/rtc/react-native/class-extensioncontext) 中报告的 `uid` 是否有效:
- true:`uid` 有效。
- false:`uid` 无效。
用户 ID。0 代表本地用户,大于 0 代表远端用户。
提供插件的服务商名称。
插件的名称。