Package com.incode.welcome_sdk.modules
Class NfcScan.Builder
-
- All Implemented Interfaces:
public final class NfcScan.Builder
-
-
Constructor Summary
Constructors Constructor Description NfcScan.Builder()
-
Method Summary
Modifier and Type Method Description final NfcScan.BuildersetShowNfcSymbolConfirmationScreen(Boolean showNfcSymbolConfirmationScreen)final NfcScan.BuildersetShowTutorials(Boolean showTutorials)final NfcScan.BuildersetProcessNfcData(Boolean processNfcData)final NfcScan.BuildersetNfcMaxRetries(Integer nfcMaxRetries)final NfcScan.BuildersetIdType(IdScan.IdType idType)final NfcScan.BuildersetShowInitialDataConfirmationScreen(Boolean showInitialDataConfirmationScreen)final NfcScan.BuildersetReturnResultImmediately(Boolean returnResultImmediately)final NfcScanbuild()Builds an NFC Scan module that can be added to a flow. -
-
Method Detail
-
setShowNfcSymbolConfirmationScreen
final NfcScan.Builder setShowNfcSymbolConfirmationScreen(Boolean showNfcSymbolConfirmationScreen)
- Parameters:
showNfcSymbolConfirmationScreen- If true, a screen asking the user if their document contains an NFC chip will be shown.- Returns:
Builder
-
setShowTutorials
final NfcScan.Builder setShowTutorials(Boolean showTutorials)
- Parameters:
showTutorials- If true, tutorials will be shown on how to scan an ID/Passport.- Returns:
-
setProcessNfcData
final NfcScan.Builder setProcessNfcData(Boolean processNfcData)
- Parameters:
processNfcData- If true, the data read from the NFC chip will be used to validate identity.- Returns:
-
setNfcMaxRetries
final NfcScan.Builder setNfcMaxRetries(Integer nfcMaxRetries)
- Parameters:
nfcMaxRetries- sets the maximum number of NFC scan attempts for reading a passport or ID.- Returns:
-
setIdType
final NfcScan.Builder setIdType(IdScan.IdType idType)
- Parameters:
idType- Set Id Type which should be used for NFC scanning.- Returns:
-
setShowInitialDataConfirmationScreen
final NfcScan.Builder setShowInitialDataConfirmationScreen(Boolean showInitialDataConfirmationScreen)
- Parameters:
showInitialDataConfirmationScreen- If true, Document OCR data confirmation screen will be shown before the first NFC scan.- Returns:
Builder
-
setReturnResultImmediately
final NfcScan.Builder setReturnResultImmediately(Boolean returnResultImmediately)
- Parameters:
returnResultImmediately- If true, the result of the NFC scan will be returned immediately after the scan is completed.- Returns:
Builder
-
-
-
-