Class TopBarConfiguration
[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
StyledTextmode
TopBarModestatusBarMode
StatusBarModebackgroundColor
ScanbotColorcancelButton
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
CancelButton
public ButtonConfiguration CancelButton { get; set; }
Property Value
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
Mode
public TopBarMode Mode { get; set; }
Property Value
StatusBarMode
public StatusBarMode StatusBarMode { get; set; }
Property Value
Title
public StyledText Title { get; set; }
Property Value
Methods
Component1()
[Register("component1", "()Lio/scanbot/sdk/ui_v2/common/StyledText;", "")]
public StyledText Component1()
Returns
Component2()
[Register("component2", "()Lio/scanbot/sdk/ui_v2/common/TopBarMode;", "")]
public TopBarMode Component2()
Returns
Component3()
[Register("component3", "()Lio/scanbot/sdk/ui_v2/common/StatusBarMode;", "")]
public StatusBarMode Component3()
Returns
Component4()
[Register("component4", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component4()
Returns
Component5()
[Register("component5", "()Lio/scanbot/sdk/ui_v2/common/ButtonConfiguration;", "")]
public ButtonConfiguration Component5()
Returns
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
StyledTextmode
TopBarModestatusBarMode
StatusBarModebackgroundColor
ScanbotColorcancelButton
ButtonConfiguration
Returns
Default()
[Register("default", "()Lio/scanbot/sdk/ui_v2/common/TopBarConfiguration;", "")]
public static TopBarConfiguration 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