Camera相关

最后更新: 2020/10/21

方法介绍:

方法名

参数

JS类型

Java类型

必填

参数说明

方法说明

最低版本

支持平台

豹小秘

豹大/花瓶

豹小秘 Mini

switchCamera

callbackld

number

Int

yes

CommandListener的id,如果不需要处理事件传-1

切换摄像头

1.0.0

mode

string

String

yes

backward:后置摄像头

forward:前置摄像头