Table of Contents

Class RoundButton

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

Constructors

RoundButton()

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

RoundButton(JSONObject)

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

Parameters

json JSONObject

RoundButton(bool, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor)

[Register(".ctor", "(ZLio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;)V", "")]
public RoundButton(bool visible, ScanbotColor backgroundColor, ScanbotColor foregroundColor, ScanbotColor activeBackgroundColor, ScanbotColor activeForegroundColor)

Parameters

visible bool
backgroundColor ScanbotColor
foregroundColor ScanbotColor
activeBackgroundColor ScanbotColor
activeForegroundColor ScanbotColor

RoundButton(IDictionary<string, Object>)

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

Parameters

source IDictionary<string, Object>

Properties

ActiveBackgroundColor

public ScanbotColor ActiveBackgroundColor { get; set; }

Property Value

ScanbotColor

ActiveForegroundColor

public ScanbotColor ActiveForegroundColor { get; set; }

Property Value

ScanbotColor

BackgroundColor

public ScanbotColor BackgroundColor { get; set; }

Property Value

ScanbotColor

Creator

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

Property Value

IParcelableCreator

ForegroundColor

public ScanbotColor ForegroundColor { get; set; }

Property Value

ScanbotColor

Visible

public bool Visible { get; set; }

Property Value

bool

Methods

Component1()

[Register("component1", "()Z", "")]
public bool Component1()

Returns

bool

Component2()

[Register("component2", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component2()

Returns

ScanbotColor

Component3()

[Register("component3", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component3()

Returns

ScanbotColor

Component4()

[Register("component4", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component4()

Returns

ScanbotColor

Component5()

[Register("component5", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component5()

Returns

ScanbotColor

Copy(bool, ScanbotColor, ScanbotColor, ScanbotColor, ScanbotColor)

[Register("copy", "(ZLio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;)Lio/scanbot/sdk/ui_v2/common/RoundButton;", "")]
public RoundButton Copy(bool visible, ScanbotColor backgroundColor, ScanbotColor foregroundColor, ScanbotColor activeBackgroundColor, ScanbotColor activeForegroundColor)

Parameters

visible bool
backgroundColor ScanbotColor
foregroundColor ScanbotColor
activeBackgroundColor ScanbotColor
activeForegroundColor ScanbotColor

Returns

RoundButton

Default()

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

Returns

RoundButton

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.