Table of Contents

Class CameraConfiguration

Namespace
IO.Scanbot.Sdk.Ui_v2.Common
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/common/CameraConfiguration", DoNotGenerateAcw = true)]
public sealed class CameraConfiguration : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
CameraConfiguration
Implements
Inherited Members

Constructors

CameraConfiguration()

[Register(".ctor", "()V", "")]
public CameraConfiguration()

CameraConfiguration(CameraModule, IList<Double>, double, bool, bool, bool, bool, OrientationLockMode, CameraPreviewMode)

[Register(".ctor", "(Lio/scanbot/sdk/ui_v2/common/CameraModule;Ljava/util/List;DZZZZLio/scanbot/sdk/ui_v2/common/OrientationLockMode;Lio/scanbot/sdk/ui_v2/common/CameraPreviewMode;)V", "")]
public CameraConfiguration(CameraModule cameraModule, IList<Double> zoomSteps, double defaultZoomFactor, bool flashEnabled, bool minFocusDistanceLock, bool touchToFocusEnabled, bool pinchToZoomEnabled, OrientationLockMode orientationLockMode, CameraPreviewMode cameraPreviewMode)

Parameters

cameraModule CameraModule
zoomSteps IList<Double>
defaultZoomFactor double
flashEnabled bool
minFocusDistanceLock bool
touchToFocusEnabled bool
pinchToZoomEnabled bool
orientationLockMode OrientationLockMode
cameraPreviewMode CameraPreviewMode

CameraConfiguration(JSONObject)

[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public CameraConfiguration(JSONObject json)

Parameters

json JSONObject

CameraConfiguration(IDictionary<string, Object>)

[Register(".ctor", "(Ljava/util/Map;)V", "")]
public CameraConfiguration(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

CameraModule

public CameraModule CameraModule { get; set; }

Property Value

CameraModule

CameraPreviewMode

public CameraPreviewMode CameraPreviewMode { get; set; }

Property Value

CameraPreviewMode

Creator

[Register("CREATOR")]
public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

DefaultZoomFactor

public double DefaultZoomFactor { get; set; }

Property Value

double

FlashEnabled

public bool FlashEnabled { get; set; }

Property Value

bool

MinFocusDistanceLock

public bool MinFocusDistanceLock { get; set; }

Property Value

bool

OrientationLockMode

public OrientationLockMode OrientationLockMode { get; set; }

Property Value

OrientationLockMode

PinchToZoomEnabled

public bool PinchToZoomEnabled { get; set; }

Property Value

bool

TouchToFocusEnabled

public bool TouchToFocusEnabled { get; set; }

Property Value

bool

ZoomSteps

public IList<Double> ZoomSteps { get; set; }

Property Value

IList<Double>

Methods

Component1()

[Register("component1", "()Lio/scanbot/sdk/ui_v2/common/CameraModule;", "")]
public CameraModule Component1()

Returns

CameraModule

Component2()

[Register("component2", "()Ljava/util/List;", "")]
public IList<Double> Component2()

Returns

IList<Double>

Component3()

[Register("component3", "()D", "")]
public double Component3()

Returns

double

Component4()

[Register("component4", "()Z", "")]
public bool Component4()

Returns

bool

Component5()

[Register("component5", "()Z", "")]
public bool Component5()

Returns

bool

Component6()

[Register("component6", "()Z", "")]
public bool Component6()

Returns

bool

Component7()

[Register("component7", "()Z", "")]
public bool Component7()

Returns

bool

Component8()

[Register("component8", "()Lio/scanbot/sdk/ui_v2/common/OrientationLockMode;", "")]
public OrientationLockMode Component8()

Returns

OrientationLockMode

Component9()

[Register("component9", "()Lio/scanbot/sdk/ui_v2/common/CameraPreviewMode;", "")]
public CameraPreviewMode Component9()

Returns

CameraPreviewMode

Copy(CameraModule, IList<Double>, double, bool, bool, bool, bool, OrientationLockMode, CameraPreviewMode)

[Register("copy", "(Lio/scanbot/sdk/ui_v2/common/CameraModule;Ljava/util/List;DZZZZLio/scanbot/sdk/ui_v2/common/OrientationLockMode;Lio/scanbot/sdk/ui_v2/common/CameraPreviewMode;)Lio/scanbot/sdk/ui_v2/common/CameraConfiguration;", "")]
public CameraConfiguration Copy(CameraModule cameraModule, IList<Double> zoomSteps, double defaultZoomFactor, bool flashEnabled, bool minFocusDistanceLock, bool touchToFocusEnabled, bool pinchToZoomEnabled, OrientationLockMode orientationLockMode, CameraPreviewMode cameraPreviewMode)

Parameters

cameraModule CameraModule
zoomSteps IList<Double>
defaultZoomFactor double
flashEnabled bool
minFocusDistanceLock bool
touchToFocusEnabled bool
pinchToZoomEnabled bool
orientationLockMode OrientationLockMode
cameraPreviewMode CameraPreviewMode

Returns

CameraConfiguration

Default()

[Register("default", "()Lio/scanbot/sdk/ui_v2/common/CameraConfiguration;", "")]
public static CameraConfiguration Default()

Returns

CameraConfiguration

DescribeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

[Register("describeContents", "()I", "")]
public int DescribeContents()

Returns

int

a bitmask indicating the set of special object types marshaled by this Parcelable object instance.

Remarks

Java documentation for

android.os.Parcelable.describeContents()
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ToJson()

[Register("toJson", "()Lorg/json/JSONObject;", "")]
public JSONObject ToJson()

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Java documentation for

android.os.Parcelable.writeToParcel(android.os.Parcel, int)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.