Package io.anyline2.sdk.extension
Class CameraConfigExtensionKt
-
- All Implemented Interfaces:
public final class CameraConfigExtensionKt
-
-
Method Summary
Modifier and Type Method Description final static IntegerpreferredPreviewWidth(CameraConfig $self)final static IntegerpreferredPreviewHeight(CameraConfig $self)final static IntegerpreferredPictureWidth(CameraConfig $self)final static IntegerpreferredPictureHeight(CameraConfig $self)final static CameraFeatures.LensFacingdefaultLensFacing(CameraConfig $self)final static BooleanisZoomGestureEnabled(CameraConfig $self)final static DoublefocalLength(CameraConfig $self)final static DoublezoomRatio(CameraConfig $self)final static DoublemaxZoomRatio(CameraConfig $self)final static DoublemaxFocalLength(CameraConfig $self)final static EnumSet<CameraFeatures.LensFacing>fallbackLensFacings(CameraConfig $self)final static BooleanisCameraXRequired(CameraConfig $self)final static CameraConfiggetCameraConfigFromJsonObject(JSONObject jsonConfig)final static JSONObjecttoJsonObject(CameraConfig $self)-
-
Method Detail
-
preferredPreviewWidth
final static Integer preferredPreviewWidth(CameraConfig $self)
-
preferredPreviewHeight
final static Integer preferredPreviewHeight(CameraConfig $self)
-
preferredPictureWidth
final static Integer preferredPictureWidth(CameraConfig $self)
-
preferredPictureHeight
final static Integer preferredPictureHeight(CameraConfig $self)
-
defaultLensFacing
final static CameraFeatures.LensFacing defaultLensFacing(CameraConfig $self)
-
isZoomGestureEnabled
final static Boolean isZoomGestureEnabled(CameraConfig $self)
-
focalLength
final static Double focalLength(CameraConfig $self)
-
zoomRatio
final static Double zoomRatio(CameraConfig $self)
-
maxZoomRatio
final static Double maxZoomRatio(CameraConfig $self)
-
maxFocalLength
final static Double maxFocalLength(CameraConfig $self)
-
fallbackLensFacings
final static EnumSet<CameraFeatures.LensFacing> fallbackLensFacings(CameraConfig $self)
-
isCameraXRequired
final static Boolean isCameraXRequired(CameraConfig $self)
-
getCameraConfigFromJsonObject
final static CameraConfig getCameraConfigFromJsonObject(JSONObject jsonConfig)
-
toJsonObject
final static JSONObject toJsonObject(CameraConfig $self)
-
-
-
-