getCallId method
@detail api @valid since 3.60. @author xuyiling @brief Gets call ID. Call this method after joining an RTC room. After creating a room, a call ID is generated to identify the call for this room. @return Call ID.
Implementation
Future<String?> getCallId() async {
$a() => ($instance as $p_a.RTCRoom).getCallId();
$i() => ($instance as $p_i.ByteRTCRoom).getCallId();
if (Platform.isAndroid) {
return $a();
} else if (Platform.isIOS) {
return $i();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}