switchCamera method
Switch front and rear cameras.
Returns
- ResultCode.OK Success
- others: Failure
切换前后置摄像头。
Returns
- ResultCode.OK 成功
- 其他: 失败
Implementation
@override
Future<ResultCode> switchCamera() {
return _invokeCodeMethod('switchCamera');
}