Package io.anyline2.sdk.extension
Class CameraConfigExtensionKt
-
- All Implemented Interfaces:
public final class CameraConfigExtensionKt
-
-
Method Summary
Modifier and Type Method Description final static Integer
preferredPreviewWidth(CameraConfig $self)
final static Integer
preferredPreviewHeight(CameraConfig $self)
final static Integer
preferredPictureWidth(CameraConfig $self)
final static Integer
preferredPictureHeight(CameraConfig $self)
final static CameraFeatures.LensFacing
defaultLensFacing(CameraConfig $self)
final static Boolean
isZoomGestureEnabled(CameraConfig $self)
final static Double
focalLength(CameraConfig $self)
final static Double
zoomRatio(CameraConfig $self)
final static Double
maxZoomRatio(CameraConfig $self)
final static Double
maxFocalLength(CameraConfig $self)
final static EnumSet<CameraFeatures.LensFacing>
fallbackLensFacings(CameraConfig $self)
final static CameraConfig
getCameraConfigFromJsonObject(JSONObject jsonConfig)
final static JSONObject
toJsonObject(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)
-
getCameraConfigFromJsonObject
final static CameraConfig getCameraConfigFromJsonObject(JSONObject jsonConfig)
-
toJsonObject
final static JSONObject toJsonObject(CameraConfig $self)
-
-
-
-