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.Builder
setShowNfcSymbolConfirmationScreen(Boolean showNfcSymbolConfirmationScreen)
final NfcScan.Builder
setProcessNfcData(Boolean processNfcData)
final NfcScan.Builder
setIdType(IdScan.IdType idType)
final NfcScan.Builder
setShowInitialDataConfirmationScreen(Boolean showInitialDataConfirmationScreen)
final NfcScan
build()
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
-
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:
-
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
-
-
-
-