API 参考/实时互动 RTC/HarmonyOS/RtcConnectionRtcConnectionHarmonyOS更新时间不可用包含连接信息的类。复制页面 TypeScriptCopy Textexport class RtcConnection { public localUid:number = 0; public channelId:string = ""; constructor(channelId:string,uid:number) { this.channelId = channelId; this.localUid = uid; } } Copy Anchor Link 参数名描述channelId频道名。localUid本地用户 ID。表格内容超出当前宽度,可横向滚动查看更多列。