Table of Contents

Class CommonExtensionsKt

Namespace
IO.Scanbot.Sdk.UI.Configuration.Json
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/configuration/json/CommonExtensionsKt", DoNotGenerateAcw = true)]
public sealed class CommonExtensionsKt : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
CommonExtensionsKt
Implements
Inherited Members

Methods

ToJson(AspectRatio)

[Register("toJson", "(Lio/scanbot/sdk/AspectRatio;)Lio/scanbot/sdk/ui/configuration/json/JsonAspectRatio;", "")]
public static JsonAspectRatio ToJson(AspectRatio obj)

Parameters

obj AspectRatio

Returns

JsonAspectRatio

ToJson(CameraModule)

[Register("toJson", "(Lio/scanbot/sdk/camera/CameraModule;)Lio/scanbot/sdk/ui/configuration/json/JsonCameraModule;", "")]
public static JsonCameraModule ToJson(CameraModule obj)

Parameters

obj CameraModule

Returns

JsonCameraModule

ToJson(CameraPreviewMode)

[Register("toJson", "(Lio/scanbot/sdk/camera/CameraPreviewMode;)Lio/scanbot/sdk/ui/configuration/json/JsonCameraPreviewMode;", "")]
public static JsonCameraPreviewMode ToJson(CameraPreviewMode obj)

Parameters

obj CameraPreviewMode

Returns

JsonCameraPreviewMode

ToJson(ZoomRange)

[Register("toJson", "(Lio/scanbot/sdk/camera/ZoomRange;)Lio/scanbot/sdk/ui/configuration/json/JsonZoomRange;", "")]
public static JsonZoomRange ToJson(ZoomRange obj)

Parameters

obj ZoomRange

Returns

JsonZoomRange

ToJson(CameraOrientationMode)

[Register("toJson", "(Lio/scanbot/sdk/ui/view/base/configuration/CameraOrientationMode;)Lio/scanbot/sdk/ui/configuration/json/JsonOrientationLockMode;", "")]
public static JsonOrientationLockMode ToJson(CameraOrientationMode obj)

Parameters

obj CameraOrientationMode

Returns

JsonOrientationLockMode

ToSdk(JsonAspectRatio)

[Register("toSdk", "(Lio/scanbot/sdk/ui/configuration/json/JsonAspectRatio;)Lio/scanbot/sdk/AspectRatio;", "")]
public static AspectRatio ToSdk(JsonAspectRatio obj)

Parameters

obj JsonAspectRatio

Returns

AspectRatio

ToSdk(JsonCameraModule)

[Register("toSdk", "(Lio/scanbot/sdk/ui/configuration/json/JsonCameraModule;)Lio/scanbot/sdk/camera/CameraModule;", "")]
public static CameraModule ToSdk(JsonCameraModule obj)

Parameters

obj JsonCameraModule

Returns

CameraModule

ToSdk(JsonCameraPreviewMode)

[Register("toSdk", "(Lio/scanbot/sdk/ui/configuration/json/JsonCameraPreviewMode;)Lio/scanbot/sdk/camera/CameraPreviewMode;", "")]
public static CameraPreviewMode ToSdk(JsonCameraPreviewMode obj)

Parameters

obj JsonCameraPreviewMode

Returns

CameraPreviewMode

ToSdk(JsonOrientationLockMode)

[Register("toSdk", "(Lio/scanbot/sdk/ui/configuration/json/JsonOrientationLockMode;)Lio/scanbot/sdk/ui/view/base/configuration/CameraOrientationMode;", "")]
public static CameraOrientationMode ToSdk(JsonOrientationLockMode obj)

Parameters

obj JsonOrientationLockMode

Returns

CameraOrientationMode

ToSdk(JsonZoomRange)

[Register("toSdk", "(Lio/scanbot/sdk/ui/configuration/json/JsonZoomRange;)Lio/scanbot/sdk/camera/ZoomRange;", "")]
public static ZoomRange ToSdk(JsonZoomRange obj)

Parameters

obj JsonZoomRange

Returns

ZoomRange