disableVirtualBackground method
@detail api @author wangjunlin.3182 @brief Turns off the virtual background. @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. @note After calling enableVirtualBackground:withSource:{@link #ByteRTCVideoEffect#enableVirtualBackground:withSource} to enable the virtual background function, you can call this API to turn it off.
Implementation
FutureOr<int> disableVirtualBackground() async {
return await nativeCall('disableVirtualBackground', []);
}