queryCameraFocalLengthCapability abstract method
Queries the focal length capabilities supported by the camera.
To enable wide-angle or ultra-wide-angle camera modes, it is recommended to call this method first to check whether the device supports the corresponding focal length capabilities. Then, based on the result, call setCameraCapturerConfiguration to adjust the camera's focal length configuration to achieve the best capturing effect. This method is only applicable to Android and iOS.
Returns Returns an array of FocalLengthInfo objects, which contain the camera's orientation and focal length type.
Implementation
Future<List<FocalLengthInfo>> queryCameraFocalLengthCapability();