onCameraEnabled property

dynamic Function(bool enable, int code, String? errMsg)? onCameraEnabled
getter/setter pair

ZH

本地用户开关摄像头操作回调 @param code 0: 调用成功, 非0: 失败 @param errMsg 失败原因

EN

Callback for local user's camera toggle @param code 0: success, non-zero: failure @param errMsg failure reason

Implementation

Function(bool enable, int code, String? errMsg)? onCameraEnabled;