Class LicenseInfo
[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
statusLicenseStatusisValidboollicenseStatusMessagestringexpirationTimestampdoubleexpirationDateStringstringerrorMessagestringonlineLicenseCheckInProgressboollicensestringdevicesIntegernextOnlineLicenseCheckInMsdoubledeviceDeregistationErrorsIList<DeviceDeregistrationError>
LicenseInfo(JSONObject)
[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public LicenseInfo(JSONObject json)
Parameters
jsonJSONObject
LicenseInfo(IDictionary<string, Object>)
[Register(".ctor", "(Ljava/util/Map;)V", "")]
public LicenseInfo(IDictionary<string, Object> source)
Parameters
sourceIDictionary<string, Object>
Properties
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
DeviceDeregistationErrors
public IList<DeviceDeregistrationError> DeviceDeregistationErrors { get; }
Property Value
Devices
public Integer Devices { get; }
Property Value
ErrorMessage
public string ErrorMessage { get; }
Property Value
ExpirationDateString
public string ExpirationDateString { get; }
Property Value
ExpirationTimestamp
public double ExpirationTimestamp { get; }
Property Value
IsValid
public bool IsValid { get; }
Property Value
License
public string License { get; }
Property Value
LicenseStatusMessage
public string LicenseStatusMessage { get; }
Property Value
NextOnlineLicenseCheckInMs
public double NextOnlineLicenseCheckInMs { get; }
Property Value
OnlineLicenseCheckInProgress
public bool OnlineLicenseCheckInProgress { get; }
Property Value
Status
public LicenseStatus Status { get; }
Property Value
Methods
Component1()
[Register("component1", "()Lio/scanbot/sdk/licensing/LicenseStatus;", "")]
public LicenseStatus Component1()
Returns
Component10()
[Register("component10", "()D", "")]
public double Component10()
Returns
Component11()
[Register("component11", "()Ljava/util/List;", "")]
public IList<DeviceDeregistrationError> Component11()
Returns
Component2()
[Register("component2", "()Z", "")]
public bool Component2()
Returns
Component3()
[Register("component3", "()Ljava/lang/String;", "")]
public string Component3()
Returns
Component4()
[Register("component4", "()D", "")]
public double Component4()
Returns
Component5()
[Register("component5", "()Ljava/lang/String;", "")]
public string Component5()
Returns
Component6()
[Register("component6", "()Ljava/lang/String;", "")]
public string Component6()
Returns
Component7()
[Register("component7", "()Z", "")]
public bool Component7()
Returns
Component8()
[Register("component8", "()Ljava/lang/String;", "")]
public string Component8()
Returns
Component9()
[Register("component9", "()Ljava/lang/Integer;", "")]
public Integer Component9()
Returns
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
statusLicenseStatusisValidboollicenseStatusMessagestringexpirationTimestampdoubleexpirationDateStringstringerrorMessagestringonlineLicenseCheckInProgressboollicensestringdevicesIntegernextOnlineLicenseCheckInMsdoubledeviceDeregistationErrorsIList<DeviceDeregistrationError>
Returns
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.
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
ToJson(ToJsonConfiguration)
[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)
Parameters
configToJsonConfiguration
Returns
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
destParcelThe Parcel in which the object should be written.
flagsParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE.
Remarks
Flatten this object in to a Parcel.
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the