Table of Contents

Class LicenseInfo

Namespace
IO.Scanbot.Sdk.Licensing
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/licensing/LicenseInfo", DoNotGenerateAcw = true)]
public sealed class LicenseInfo : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
LicenseInfo
Implements
Inherited Members

Constructors

LicenseInfo(LicenseStatus, bool, string, double, string, string, bool, string, Integer, double, IList<DeviceDeregistrationError>)

[Register(".ctor", "(Lio/scanbot/sdk/licensing/LicenseStatus;ZLjava/lang/String;DLjava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;DLjava/util/List;)V", "")]
public LicenseInfo(LicenseStatus status, bool isValid, string licenseStatusMessage, double expirationTimestamp, string expirationDateString, string errorMessage, bool onlineLicenseCheckInProgress, string license, Integer devices, double nextOnlineLicenseCheckInMs, IList<DeviceDeregistrationError> deviceDeregistationErrors)

Parameters

status LicenseStatus
isValid bool
licenseStatusMessage string
expirationTimestamp double
expirationDateString string
errorMessage string
onlineLicenseCheckInProgress bool
license string
devices Integer
nextOnlineLicenseCheckInMs double
deviceDeregistationErrors IList<DeviceDeregistrationError>

LicenseInfo(JSONObject)

[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public LicenseInfo(JSONObject json)

Parameters

json JSONObject

LicenseInfo(IDictionary<string, Object>)

[Register(".ctor", "(Ljava/util/Map;)V", "")]
public LicenseInfo(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

Creator

[Register("CREATOR")]
public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

DeviceDeregistationErrors

public IList<DeviceDeregistrationError> DeviceDeregistationErrors { get; }

Property Value

IList<DeviceDeregistrationError>

Devices

public Integer Devices { get; }

Property Value

Integer

ErrorMessage

public string ErrorMessage { get; }

Property Value

string

ExpirationDateString

public string ExpirationDateString { get; }

Property Value

string

ExpirationTimestamp

public double ExpirationTimestamp { get; }

Property Value

double

IsValid

public bool IsValid { get; }

Property Value

bool

License

public string License { get; }

Property Value

string

LicenseStatusMessage

public string LicenseStatusMessage { get; }

Property Value

string

NextOnlineLicenseCheckInMs

public double NextOnlineLicenseCheckInMs { get; }

Property Value

double

OnlineLicenseCheckInProgress

public bool OnlineLicenseCheckInProgress { get; }

Property Value

bool

Status

public LicenseStatus Status { get; }

Property Value

LicenseStatus

Methods

Component1()

[Register("component1", "()Lio/scanbot/sdk/licensing/LicenseStatus;", "")]
public LicenseStatus Component1()

Returns

LicenseStatus

Component10()

[Register("component10", "()D", "")]
public double Component10()

Returns

double

Component11()

[Register("component11", "()Ljava/util/List;", "")]
public IList<DeviceDeregistrationError> Component11()

Returns

IList<DeviceDeregistrationError>

Component2()

[Register("component2", "()Z", "")]
public bool Component2()

Returns

bool

Component3()

[Register("component3", "()Ljava/lang/String;", "")]
public string Component3()

Returns

string

Component4()

[Register("component4", "()D", "")]
public double Component4()

Returns

double

Component5()

[Register("component5", "()Ljava/lang/String;", "")]
public string Component5()

Returns

string

Component6()

[Register("component6", "()Ljava/lang/String;", "")]
public string Component6()

Returns

string

Component7()

[Register("component7", "()Z", "")]
public bool Component7()

Returns

bool

Component8()

[Register("component8", "()Ljava/lang/String;", "")]
public string Component8()

Returns

string

Component9()

[Register("component9", "()Ljava/lang/Integer;", "")]
public Integer Component9()

Returns

Integer

Copy(LicenseStatus, bool, string, double, string, string, bool, string, Integer, double, IList<DeviceDeregistrationError>)

[Register("copy", "(Lio/scanbot/sdk/licensing/LicenseStatus;ZLjava/lang/String;DLjava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;DLjava/util/List;)Lio/scanbot/sdk/licensing/LicenseInfo;", "")]
public LicenseInfo Copy(LicenseStatus status, bool isValid, string licenseStatusMessage, double expirationTimestamp, string expirationDateString, string errorMessage, bool onlineLicenseCheckInProgress, string license, Integer devices, double nextOnlineLicenseCheckInMs, IList<DeviceDeregistrationError> deviceDeregistationErrors)

Parameters

status LicenseStatus
isValid bool
licenseStatusMessage string
expirationTimestamp double
expirationDateString string
errorMessage string
onlineLicenseCheckInProgress bool
license string
devices Integer
nextOnlineLicenseCheckInMs double
deviceDeregistationErrors IList<DeviceDeregistrationError>

Returns

LicenseInfo

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

<p>Describe the kinds of special objects contained in this Parcelable

instance's marshaled representation. For example, if the object will include a file descriptor in the output of #writeToParcel(Parcel, int), the return value of this method must include the #CONTENTS_FILE_DESCRIPTOR bit.

Java documentation for

android.os.Parcelable.describeContents()
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ToJson(ToJsonConfiguration)

[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel dest, ParcelableWriteFlags flags)

Parameters

dest Parcel

The Parcel in which the object should be written.

flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Flatten this object in to a Parcel.

Java documentation for

android.os.Parcelable.writeToParcel(android.os.Parcel, int)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.