isCameraFocusSupported method
- {ZegoPublishChannel? channel}
Whether the camera supports focusing.
Available since: 2.14.0
Description: Whether the camera supports focusing.
Trigger: Called after turn on preview startPreivew
.
Caution: Need to start the camera successfully.
Note: This function is only available in ZegoExpressVideo SDK!
channel
Publishing stream channel- Returns Whether to support focus, support is true, not support is false.
Implementation
Future<bool> isCameraFocusSupported({ZegoPublishChannel? channel}) async {
return await ZegoExpressImpl.instance
.isCameraFocusSupported(channel: channel);
}