Class ButtonConfiguration
- Namespace
- IO.Scanbot.Sdk.Ui_v2.Common
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class ButtonConfiguration : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
ButtonConfiguration
- Implements
-
Constructors
public ButtonConfiguration()
public ButtonConfiguration(JSONObject json)
Parameters
json
JSONObject
public ButtonConfiguration(bool visible, string text, string accessibilityDescription, BackgroundStyle background, ForegroundStyle foreground)
Parameters
visible
bool
text
string
accessibilityDescription
string
background
BackgroundStyle
foreground
ForegroundStyle
public ButtonConfiguration(IDictionary<string, Object> source)
Parameters
source
IDictionary<string, Object>
Properties
public string AccessibilityDescription { get; set; }
Property Value
- string
public BackgroundStyle Background { get; set; }
Property Value
- BackgroundStyle
public static IParcelableCreator Creator { get; }
Property Value
- IParcelableCreator
public ForegroundStyle Foreground { get; set; }
Property Value
- ForegroundStyle
Text
public string Text { get; set; }
Property Value
- string
public bool Visible { get; set; }
Property Value
- bool
Methods
Returns
- bool
public string Component2()
Returns
- string
public string Component3()
Returns
- string
public BackgroundStyle Component4()
Returns
- BackgroundStyle
public ForegroundStyle Component5()
Returns
- ForegroundStyle
public ButtonConfiguration Copy(bool visible, string text, string accessibilityDescription, BackgroundStyle background, ForegroundStyle foreground)
Parameters
visible
bool
text
string
accessibilityDescription
string
background
BackgroundStyle
foreground
ForegroundStyle
Returns
- ButtonConfiguration
public static ButtonConfiguration Default()
Returns
- ButtonConfiguration
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