Class RoundButton
[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
boolbackgroundColor
ScanbotColorforegroundColor
ScanbotColoractiveBackgroundColor
ScanbotColoractiveForegroundColor
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
ActiveForegroundColor
public ScanbotColor ActiveForegroundColor { get; set; }
Property Value
BackgroundColor
public ScanbotColor BackgroundColor { get; set; }
Property Value
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
ForegroundColor
public ScanbotColor ForegroundColor { get; set; }
Property Value
Visible
public bool Visible { get; set; }
Property Value
Methods
Component1()
[Register("component1", "()Z", "")]
public bool Component1()
Returns
Component2()
[Register("component2", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component2()
Returns
Component3()
[Register("component3", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor 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/ScanbotColor;", "")]
public ScanbotColor Component5()
Returns
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
boolbackgroundColor
ScanbotColorforegroundColor
ScanbotColoractiveBackgroundColor
ScanbotColoractiveForegroundColor
ScanbotColor
Returns
Default()
[Register("default", "()Lio/scanbot/sdk/ui_v2/common/RoundButton;", "")]
public static RoundButton 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