Kofax Mobile SDK API Reference
Public Member Functions | List of all members
LicenseFoundEvent Class Reference

An event that indicates that a license was found. More...

Inheritance diagram for LicenseFoundEvent:

Public Member Functions

 LicenseFoundEvent (Object sender, ErrorInfo errorInfo, int daysRemaining, String licenseString)
 
ErrorInfo getErrorInfo ()
 Retrieve the error info. More...
 
int getDaysRemaining ()
 Retrieve the number of days remaining in the found license. More...
 
String getLicenseString ()
 Retrieve the license string. More...
 

Detailed Description

An event that indicates that a license was found.

This will only be sent after the invoking readLicense for LicenseCaptureView. Once the license was found, the license string will be used for SDK licensing.

Constructor & Destructor Documentation

LicenseFoundEvent ( Object  sender,
ErrorInfo  errorInfo,
int  daysRemaining,
String  licenseString 
)

Member Function Documentation

int getDaysRemaining ( )

Retrieve the number of days remaining in the found license.

Returns
The number of days remaining in the found license.
ErrorInfo getErrorInfo ( )

Retrieve the error info.

Returns
The error info.
Return values
KMC_SUCCESSif license is valid and was setup correctly.
KMC_EV_LICENSINGif the string is invalid for setting a license.
KMC_EV_LICENSE_EXPIREDif the time limit of your license has expired.
String getLicenseString ( )

Retrieve the license string.

Returns
The license string if getErrorInfo() returns KMC_SUCCESS, or null otherwise.

The documentation for this class was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.