SybrinIdentity
A base class that is the main entry point for the SDK consumer
A base class that is the main entry point for the SDK consumer
import com.sybrin.identity.SybrinIdentity
To see this class and its functionality in action go visit our features page!
public static
SybrinIdentity
getBuiltInstance ()
Returns an already built instance of the SybrinIdentity class.
public static
SybrinIdentity
getInstance (Context context,
SybrinIdentityConfiguration
configuration)
Creates and returns an instance of the SybrinIdentity class using the provided configuration.
public
SybrinIdentityConfiguration
getConfiguration ()
Returns the SybrinIdentityConfiguration provided when the SybrinIdentity instance was created.
public
IdentityScanner
<
DocumentModel
> scanDocument (
Document
document)
Starts the document scanning process.
public
IdentityScanner
<
DriversLicenseModel
> scanDriversLicense (
Country
country)
Starts the driver's license scanning process.
public
IdentityScanner
<
GreenBookModel
> scanGreenBook ()
Starts the green book scanning process.
public
IdentityScanner
<
IDCardModel
> scanIDCard (
Country
country)
Starts the ID card scanning process.
public
IdentityScanner
<
PassportModel
> scanPassport (
Country
country)
Starts the passport scanning process.
Static methods
Returns an already built instance of the SybrinIdentity class.
getInstance(Context context, SybrinIdentityConfiguration configuration)
Creates and returns an instance of the SybrinIdentity class.
Public methods
scanDocument(Document document)
Starts the document scanning process.
scanDriversLicense(Country country)
Starts the driver's license scanning process.
Starts the green book scanning process.
scanIDCard(Country country)
Starts the ID card scanning process.
scanPassport(Country country)
Starts the passport scanning process.
Returns
This value cannot be null
.
Parameters
context
Context
configuration
SybrinIdentityConfiguration: The built configuration needed by the SDK to manipulate behavior.
Returns
This value cannot be null
.
Returns
This value cannot be null
.
Parameters
document
Document: The selected document that the user wishes to scan.
Returns
This value cannot be null
.
Parameters
country
Country: The country of the driver's license the user wishes to scan..
Returns
This value cannot be null
.
Returns
This value cannot be null
.
Parameters
country
Country: The country of the ID card the user wishes to scan..
Returns
This value cannot be null
.
Parameters
country
Country: The country of the passport the user wishes to scan..
Returns
This value cannot be null
.