3. SDK Features

Enable Liveness version:

    FEKYCApp.setEnableLiveness()

Use full stream sdk:

    FEKYCApp.instance().start()

Note: If you don't want to use enough threads, the SDK provides the following features

Create transaction

  • Used to create transaction for Ekyc execution session

  • When successful transaction creation, the SDK returns a model transaction data which leads to the creatTransactionSuccess() callback. Handling create transaction successfully here.

  • When creating transaction fails, it will be processed at callback ekycFailure().

    FEKYCApp.instance().createTransaction()

Get process transaction

  • Used to get the Ekyc process of a transaction

    FEKYCApp.instance().getProcessTransaction(transactionId)

Upload Photo

  • Used to upload photos of documents, face for Ekyc

  • When the photo upload is successful, the SDK returns a model capture data resulting in the uploadPhotoSuccess() callback. Handling photo upload successfully here.

  • When uploading photo fails, it will be handled at callback ekycFailure().

    FEKYCApp.instance().uploadPhoto(step: FEKYCStep, imageFile: imageFile)

Face Matching

  • Use this method to get ORC scan information & check matching face from upload photo

  • When face matching is successful, the SDK returns a model face matching data resulting in the faceMatchingSuccess() callback. Handling face matching successfully here.

     FEKYCApp.instance().faceMatching()

FaceMatchingData

CardInfo

Submit info

  • Use this method to submit information & finish ekyc session

  • After submitting the info successfully, the SDK returns a status leading to the didEkycSuccess() callback. Handling submit info successfully here.

    FEKYCApp.instance().submitInfo(info: FaceMatchingData)Æ°

Last updated