setVideoEffectExpressionDetect method

FutureOr<int> setVideoEffectExpressionDetect(
  1. ByteRTCExpressionDetectConfig config
)

@hidden for internal use only @detail api @author zhushufan.ref @brief Sets the configuration for video effects expression detection. @param config Expression detection configuration. See ByteRTCExpressionDetectConfig{@link #ByteRTCExpressionDetectConfig}. @return - 0: Success. - –1000: The Effects SDK is not integrated. - –1001: This API is unavailable for your Effects SDK. - –1002: Your Effects SDK's version is incompatible. - < 0: Other error. See error code table for specific instructions.

Implementation

FutureOr<int> setVideoEffectExpressionDetect(
    ByteRTCExpressionDetectConfig config) async {
  return await nativeCall('setVideoEffectExpressionDetect:', [config]);
}