# AgoraExtensionContext (/zh-CN/api-reference/rtc/macos/class-extensioncontext)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```objc
@interface AgoraExtensionContext : NSObject
@property (assign, nonatomic) BOOL isValid;
@property (assign, nonatomic) NSUInteger uid;
@property (copy, nonatomic) NSString * _Nullable providerName;
@property (copy, nonatomic) NSString * _Nullable extensionName;
@end
```
## 属性 [#属性]
`uid` 是否有效:
- YES:`uid` 有效。
- NO:`uid` 无效。
用户 ID。0 表示本地用户,大于 0 表示远端用户。
扩展提供方的名称。
扩展的名称。