getRoomId method

Future<String?> getRoomId()

@valid since 3.53 @detail api @author gechangwu @brief Get RTC room ID. @return Room ID.

Implementation

Future<String?> getRoomId() async {
  $a() => ($instance as $p_a.RTCRoom).getRoomId();
  $i() => ($instance as $p_i.ByteRTCRoom).getRoomId();

  if (Platform.isAndroid) {
    return $a();
  } else if (Platform.isIOS) {
    return $i();
  } else {
    throw UnsupportedError(
        'Not Support Platform ${Platform.operatingSystem}');
  }
}