ios_setVideoEffectExpressionDetect method
@platform ios @hidden for internal use only @detail api @author zhushufan.ref @brief 开启人像属性检测。 @param config 人像属性检测参数,参看 ByteRTCExpressionDetectConfig{@link #ByteRTCExpressionDetectConfig}。 @return - 0: 调用成功。 - –1000: 未集成特效 SDK。 - –1001: 特效 SDK 不支持该功能。 - –1002: 特效 SDK 版本不兼容。 - < 0: 调用失败,错误码对应具体描述参看 错误码表。
Implementation
Future<int?> ios_setVideoEffectExpressionDetect(
$p_i.ByteRTCExpressionDetectConfig config) async {
$() => ($instance as $p_i.ByteRTCVideoEffect)
.setVideoEffectExpressionDetect(config);
if (Platform.isIOS) {
return $();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}