Table of Contents

Class ImageProfile

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

Constructors

ImageProfile()

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

ImageProfile(JSONObject)

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

Parameters

json JSONObject

ImageProfile(IDictionary<string, Object>)

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

Parameters

source IDictionary<string, Object>

ImageProfile(int, int)

[Register(".ctor", "(II)V", "")]
public ImageProfile(int bitmapMemoryConsumption, int hibernationMemoryConsumption)

Parameters

bitmapMemoryConsumption int
hibernationMemoryConsumption int

Properties

BitmapMemoryConsumption

public int BitmapMemoryConsumption { get; set; }

Property Value

int

Creator

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

Property Value

IParcelableCreator

HibernationMemoryConsumption

public int HibernationMemoryConsumption { get; set; }

Property Value

int

Methods

Component1()

[Register("component1", "()I", "")]
public int Component1()

Returns

int

Component2()

[Register("component2", "()I", "")]
public int Component2()

Returns

int

Copy(int, int)

[Register("copy", "(II)Lio/scanbot/sdk/core/ImageProfile;", "")]
public ImageProfile Copy(int bitmapMemoryConsumption, int hibernationMemoryConsumption)

Parameters

bitmapMemoryConsumption int
hibernationMemoryConsumption int

Returns

ImageProfile

Default()

[Register("default", "()Lio/scanbot/sdk/core/ImageProfile;", "")]
public static ImageProfile Default()

Returns

ImageProfile

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(ToJsonConfiguration)

[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

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.