RtcConnection

  • HarmonyOS

更新时间不可用

包含连接信息的类。

TypeScript
export class RtcConnection {
  public localUid:number = 0;
  public channelId:string = "";
  constructor(channelId:string,uid:number) {
    this.channelId = channelId;
    this.localUid = uid;
  }
}

参数名描述
channelId

频道名。

localUid

本地用户 ID。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?