Table of Contents

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

ButtonConfiguration()

public ButtonConfiguration()

ButtonConfiguration(JSONObject)

public ButtonConfiguration(JSONObject json)

Parameters

json JSONObject

ButtonConfiguration(bool, string, string, BackgroundStyle, ForegroundStyle)

public ButtonConfiguration(bool visible, string text, string accessibilityDescription, BackgroundStyle background, ForegroundStyle foreground)

Parameters

visible bool
text string
accessibilityDescription string
background BackgroundStyle
foreground ForegroundStyle

ButtonConfiguration(IDictionary<string, Object>)

public ButtonConfiguration(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

AccessibilityDescription

public string AccessibilityDescription { get; set; }

Property Value

string

Background

public BackgroundStyle Background { get; set; }

Property Value

BackgroundStyle

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

Foreground

public ForegroundStyle Foreground { get; set; }

Property Value

ForegroundStyle

Text

public string Text { get; set; }

Property Value

string

Visible

public bool Visible { get; set; }

Property Value

bool

Methods

Component1()

public bool Component1()

Returns

bool

Component2()

public string Component2()

Returns

string

Component3()

public string Component3()

Returns

string

Component4()

public BackgroundStyle Component4()

Returns

BackgroundStyle

Component5()

public ForegroundStyle Component5()

Returns

ForegroundStyle

Copy(bool, string, string, BackgroundStyle, 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

Default()

public static ButtonConfiguration Default()

Returns

ButtonConfiguration

DescribeContents()

public int DescribeContents()

Returns

int

ToJson(ToJsonConfiguration)

public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags