Class ViewFinderConfiguration
- Namespace
- IO.Scanbot.Sdk.Ui_v2.Common
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class ViewFinderConfiguration : BaseViewFinderConfiguration, IParcelable, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
ViewFinderConfiguration
- Implements
-
- Inherited Members
-
Constructors
ViewFinderConfiguration()
public ViewFinderConfiguration()
ViewFinderConfiguration(FinderStyle, ScanbotColor, AspectRatio, EdgeInsets, double, bool)
public ViewFinderConfiguration(FinderStyle style, ScanbotColor overlayColor, AspectRatio aspectRatio, EdgeInsets minimumInsets, double preferredHeight, bool visible)
Parameters
style
FinderStyle
overlayColor
ScanbotColor
aspectRatio
AspectRatio
minimumInsets
EdgeInsets
preferredHeight
double
visible
bool
ViewFinderConfiguration(JSONObject)
public ViewFinderConfiguration(JSONObject json)
Parameters
json
JSONObject
ViewFinderConfiguration(IDictionary<string, Object>)
public ViewFinderConfiguration(IDictionary<string, Object> source)
Parameters
source
IDictionary<string, Object>
Properties
AspectRatio
public override AspectRatio AspectRatio { get; set; }
Property Value
- AspectRatio
Creator
public static IParcelableCreator Creator { get; }
Property Value
- IParcelableCreator
MinimumInsets
public override EdgeInsets MinimumInsets { get; set; }
Property Value
- EdgeInsets
OverlayColor
public override ScanbotColor OverlayColor { get; set; }
Property Value
- ScanbotColor
PreferredHeight
public override double PreferredHeight { get; set; }
Property Value
- double
Style
public override FinderStyle Style { get; set; }
Property Value
- FinderStyle
Visible
public bool Visible { get; set; }
Property Value
- bool
Methods
Component1()
public FinderStyle Component1()
Returns
- FinderStyle
Component2()
public ScanbotColor Component2()
Returns
- ScanbotColor
Component3()
public AspectRatio Component3()
Returns
- AspectRatio
Component4()
public EdgeInsets Component4()
Returns
- EdgeInsets
Component5()
public double Component5()
Returns
- double
Component6()
Returns
- bool
Copy(FinderStyle, ScanbotColor, AspectRatio, EdgeInsets, double, bool)
public ViewFinderConfiguration Copy(FinderStyle style, ScanbotColor overlayColor, AspectRatio aspectRatio, EdgeInsets minimumInsets, double preferredHeight, bool visible)
Parameters
style
FinderStyle
overlayColor
ScanbotColor
aspectRatio
AspectRatio
minimumInsets
EdgeInsets
preferredHeight
double
visible
bool
Returns
- ViewFinderConfiguration
Default()
public static ViewFinderConfiguration Default()
Returns
- ViewFinderConfiguration
DescribeContents()
public override int DescribeContents()
Returns
- int
Get_type()
public override string Get_type()
Returns
- string
ToJson(ToJsonConfiguration)
public override JSONObject ToJson(ToJsonConfiguration config)
Parameters
config
ToJsonConfiguration
Returns
- JSONObject
WriteToParcel(Parcel, ParcelableWriteFlags)
public override void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)
Parameters
out
Parcel
flags
ParcelableWriteFlags