Table of Contents

Class TopBarConfiguration

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

Constructors

TopBarConfiguration()

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

TopBarConfiguration(StyledText, TopBarMode, StatusBarMode, ScanbotColor, ButtonConfiguration)

[Register(".ctor", "(Lio/scanbot/sdk/ui_v2/common/StyledText;Lio/scanbot/sdk/ui_v2/common/TopBarMode;Lio/scanbot/sdk/ui_v2/common/StatusBarMode;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ButtonConfiguration;)V", "")]
public TopBarConfiguration(StyledText title, TopBarMode mode, StatusBarMode statusBarMode, ScanbotColor backgroundColor, ButtonConfiguration cancelButton)

Parameters

title StyledText
mode TopBarMode
statusBarMode StatusBarMode
backgroundColor ScanbotColor
cancelButton ButtonConfiguration

TopBarConfiguration(JSONObject)

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

Parameters

json JSONObject

TopBarConfiguration(IDictionary<string, Object>)

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

Parameters

source IDictionary<string, Object>

Properties

BackgroundColor

public ScanbotColor BackgroundColor { get; set; }

Property Value

ScanbotColor

CancelButton

public ButtonConfiguration CancelButton { get; set; }

Property Value

ButtonConfiguration

Creator

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

Property Value

IParcelableCreator

Mode

public TopBarMode Mode { get; set; }

Property Value

TopBarMode

StatusBarMode

public StatusBarMode StatusBarMode { get; set; }

Property Value

StatusBarMode

Title

public StyledText Title { get; set; }

Property Value

StyledText

Methods

Component1()

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

Returns

StyledText

Component2()

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

Returns

TopBarMode

Component3()

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

Returns

StatusBarMode

Component4()

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

Returns

ScanbotColor

Component5()

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

Returns

ButtonConfiguration

Copy(StyledText, TopBarMode, StatusBarMode, ScanbotColor, ButtonConfiguration)

[Register("copy", "(Lio/scanbot/sdk/ui_v2/common/StyledText;Lio/scanbot/sdk/ui_v2/common/TopBarMode;Lio/scanbot/sdk/ui_v2/common/StatusBarMode;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ButtonConfiguration;)Lio/scanbot/sdk/ui_v2/common/TopBarConfiguration;", "")]
public TopBarConfiguration Copy(StyledText title, TopBarMode mode, StatusBarMode statusBarMode, ScanbotColor backgroundColor, ButtonConfiguration cancelButton)

Parameters

title StyledText
mode TopBarMode
statusBarMode StatusBarMode
backgroundColor ScanbotColor
cancelButton ButtonConfiguration

Returns

TopBarConfiguration

Default()

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

Returns

TopBarConfiguration

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.