Class BadgedButton
- Namespace
- IO.Scanbot.Sdk.Ui_v2.Common
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class BadgedButton : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
BadgedButton
- Implements
-
Constructors
public BadgedButton(ScanbotColor badgeBackgroundColor, ScanbotColor badgeForegroundColor, bool visible, ScanbotColor backgroundColor, ScanbotColor foregroundColor, ScanbotColor activeBackgroundColor, ScanbotColor activeForegroundColor)
Parameters
badgeBackgroundColor ScanbotColor
badgeForegroundColor ScanbotColor
visible bool
backgroundColor ScanbotColor
foregroundColor ScanbotColor
activeBackgroundColor ScanbotColor
activeForegroundColor ScanbotColor
public BadgedButton(JSONObject json)
Parameters
json JSONObject
public BadgedButton(IDictionary<string, Object> source)
Parameters
source IDictionary<string, Object>
Properties
public ScanbotColor ActiveBackgroundColor { get; set; }
Property Value
- ScanbotColor
public ScanbotColor ActiveForegroundColor { get; set; }
Property Value
- ScanbotColor
public ScanbotColor BackgroundColor { get; set; }
Property Value
- ScanbotColor
public ScanbotColor BadgeBackgroundColor { get; set; }
Property Value
- ScanbotColor
public ScanbotColor BadgeForegroundColor { get; set; }
Property Value
- ScanbotColor
public static IParcelableCreator Creator { get; }
Property Value
- IParcelableCreator
public ScanbotColor ForegroundColor { get; set; }
Property Value
- ScanbotColor
public bool Visible { get; set; }
Property Value
- bool
Methods
public ScanbotColor Component1()
Returns
- ScanbotColor
public ScanbotColor Component2()
Returns
- ScanbotColor
Returns
- bool
public ScanbotColor Component4()
Returns
- ScanbotColor
public ScanbotColor Component5()
Returns
- ScanbotColor
public ScanbotColor Component6()
Returns
- ScanbotColor
public ScanbotColor Component7()
Returns
- ScanbotColor
public BadgedButton Copy(ScanbotColor badgeBackgroundColor, ScanbotColor badgeForegroundColor, bool visible, ScanbotColor backgroundColor, ScanbotColor foregroundColor, ScanbotColor activeBackgroundColor, ScanbotColor activeForegroundColor)
Parameters
badgeBackgroundColor ScanbotColor
badgeForegroundColor ScanbotColor
visible bool
backgroundColor ScanbotColor
foregroundColor ScanbotColor
activeBackgroundColor ScanbotColor
activeForegroundColor ScanbotColor
Returns
- BadgedButton
public static BadgedButton Default()
Returns
- BadgedButton
DescribeContents()
public int DescribeContents()
Returns
- int
public JSONObject ToJson(ToJsonConfiguration config)
Parameters
config ToJsonConfiguration
Returns
- JSONObject
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)
Parameters
out Parcel
flags ParcelableWriteFlags