# AgoraRtcConnection (/zh-CN/api-reference/rtc/macos/class-rtcconnection) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```objc __attribute__((visibility("default"))) @interface AgoraRtcConnection: NSObject @property (nonatomic, copy) NSString *_Nonnull channelId; @property (nonatomic, assign) NSUInteger localUid; @end ``` ## 属性 [#属性] 频道名。 本地用户 ID。