getSDKVersion static method
@detail api @author wangzhanqiang @brief 获取 SDK 当前的版本号。 @return SDK 当前的版本号。
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}');
}
}