getSDKVersion static method
@detail api @author wangzhanqiang @brief Get the current version number of the SDK. @return The current SDK version number.
Implementation
static Future<String?> getSDKVersion() async {
$a() => $p_a.RTCEngine.getSDKVersion();
$i() => $p_i.ByteRTCEngine.getSDKVersion();
if (Platform.isAndroid) {
return $a();
} else if (Platform.isIOS) {
return $i();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}