Table of Contents

Class BadgeStyle

Namespace
IO.Scanbot.Sdk.Ui_v2.Common
Assembly
DocumentSDK.NET.Droid.dll
public sealed class BadgeStyle : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
Inheritance
BadgeStyle
Implements

Constructors

BadgeStyle()

public BadgeStyle()

BadgeStyle(JSONObject)

public BadgeStyle(JSONObject json)

Parameters

json JSONObject

BadgeStyle(bool, BackgroundStyle, ScanbotColor)

public BadgeStyle(bool visible, BackgroundStyle background, ScanbotColor foregroundColor)

Parameters

visible bool
background BackgroundStyle
foregroundColor ScanbotColor

BadgeStyle(IDictionary<string, Object>)

public BadgeStyle(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

Background

public BackgroundStyle Background { get; set; }

Property Value

BackgroundStyle

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

ForegroundColor

public ScanbotColor ForegroundColor { get; set; }

Property Value

ScanbotColor

Visible

public bool Visible { get; set; }

Property Value

bool

Methods

Component1()

public bool Component1()

Returns

bool

Component2()

public BackgroundStyle Component2()

Returns

BackgroundStyle

Component3()

public ScanbotColor Component3()

Returns

ScanbotColor

Copy(bool, BackgroundStyle, ScanbotColor)

public BadgeStyle Copy(bool visible, BackgroundStyle background, ScanbotColor foregroundColor)

Parameters

visible bool
background BackgroundStyle
foregroundColor ScanbotColor

Returns

BadgeStyle

Default()

public static BadgeStyle Default()

Returns

BadgeStyle

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