Class CameraConfiguration
[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
CameraModulezoomSteps
IList<Double>defaultZoomFactor
doubleflashEnabled
boolminFocusDistanceLock
booltouchToFocusEnabled
boolpinchToZoomEnabled
boolorientationLockMode
OrientationLockModecameraPreviewMode
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
CameraPreviewMode
public CameraPreviewMode CameraPreviewMode { get; set; }
Property Value
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
DefaultZoomFactor
public double DefaultZoomFactor { get; set; }
Property Value
FlashEnabled
public bool FlashEnabled { get; set; }
Property Value
MinFocusDistanceLock
public bool MinFocusDistanceLock { get; set; }
Property Value
OrientationLockMode
public OrientationLockMode OrientationLockMode { get; set; }
Property Value
PinchToZoomEnabled
public bool PinchToZoomEnabled { get; set; }
Property Value
TouchToFocusEnabled
public bool TouchToFocusEnabled { get; set; }
Property Value
ZoomSteps
public IList<Double> ZoomSteps { get; set; }
Property Value
Methods
Component1()
[Register("component1", "()Lio/scanbot/sdk/ui_v2/common/CameraModule;", "")]
public CameraModule Component1()
Returns
Component2()
[Register("component2", "()Ljava/util/List;", "")]
public IList<Double> Component2()
Returns
Component3()
[Register("component3", "()D", "")]
public double Component3()
Returns
Component4()
[Register("component4", "()Z", "")]
public bool Component4()
Returns
Component5()
[Register("component5", "()Z", "")]
public bool Component5()
Returns
Component6()
[Register("component6", "()Z", "")]
public bool Component6()
Returns
Component7()
[Register("component7", "()Z", "")]
public bool Component7()
Returns
Component8()
[Register("component8", "()Lio/scanbot/sdk/ui_v2/common/OrientationLockMode;", "")]
public OrientationLockMode Component8()
Returns
Component9()
[Register("component9", "()Lio/scanbot/sdk/ui_v2/common/CameraPreviewMode;", "")]
public CameraPreviewMode Component9()
Returns
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
CameraModulezoomSteps
IList<Double>defaultZoomFactor
doubleflashEnabled
boolminFocusDistanceLock
booltouchToFocusEnabled
boolpinchToZoomEnabled
boolorientationLockMode
OrientationLockModecameraPreviewMode
CameraPreviewMode
Returns
Default()
[Register("default", "()Lio/scanbot/sdk/ui_v2/common/CameraConfiguration;", "")]
public static CameraConfiguration Default()
Returns
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
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
ToJson()
[Register("toJson", "()Lorg/json/JSONObject;", "")]
public JSONObject ToJson()
Returns
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
Parcelflags
ParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE
.
Remarks
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the