currentCamera method
获取当前摄像头
return 当前摄像头
Implementation
Future<RCCallCamera> currentCamera() async {
int code = await _channel.invokeMethod('currentCamera');
if (code < 0 || code >= RCCallCamera.values.length) return RCCallCamera.none;
return RCCallCamera.values[code];
}