cameraFocusWithPoint method
摄像头手动聚焦
@param positionX 触摸点相对于显示视图的横坐标(0-1.0) @param positionY 触摸点相对于显示视图的纵坐标(0-1.0) @discussion 摄像头手动对焦,调用isFocusSupported()判断是否支持手动聚焦
Implementation
Future<void> cameraFocusWithPoint(int positionX, int positionY) {
return bRTCPluginChannel.invokeMethod('cameraFocusWithPoint', {
"positionX": positionX,
"positionY": positionY,
});
}