public class BaseNfcPassportFragment
Represents a screen of passport scanning with NFC and MRZ
@Inject @NotNull public io.scanbot.sdk.ui.view.interactor.CheckCameraPermissionUseCase checkCameraPermissionUseCase
@Inject @NotNull public io.scanbot.sdk.ui.view.mrz.MRZCameraPresenter mrzCameraPresenter
@Inject @NotNull public NfcPassportPresenter nfcPassportPresenter
@Inject @NotNull public io.scanbot.sdk.mrzscanner.MRZScanner mrzScanner
@NotNull public io.scanbot.sdk.ui.view.mrz.MRZCameraView mrzCameraView
@NotNull public NfcPassportView nfcPassportView
@NotNull public static java.lang.String CUSTOM_CONFIGURATION
public static int PERMISSIONS_REQUEST_CAMERA
@NotNull public static java.lang.String TAG
public static io.scanbot.sdk.ui.view.nfc.BaseNfcPassportFragment.Companion Companion
public BaseNfcPassportFragment()
Represents a screen of passport scanning with NFC and MRZ
@NotNull public io.scanbot.sdk.ui.view.interactor.CheckCameraPermissionUseCase getCheckCameraPermissionUseCase()
public void setCheckCameraPermissionUseCase(@NotNull
io.scanbot.sdk.ui.view.interactor.CheckCameraPermissionUseCase p)
@NotNull public io.scanbot.sdk.ui.view.mrz.MRZCameraPresenter getMrzCameraPresenter()
public void setMrzCameraPresenter(@NotNull
io.scanbot.sdk.ui.view.mrz.MRZCameraPresenter p)
@NotNull public NfcPassportPresenter getNfcPassportPresenter()
public void setNfcPassportPresenter(@NotNull
NfcPassportPresenter p)
@NotNull public io.scanbot.sdk.mrzscanner.MRZScanner getMrzScanner()
public void setMrzScanner(@NotNull
io.scanbot.sdk.mrzscanner.MRZScanner p)
@NotNull public io.scanbot.sdk.ui.view.mrz.MRZCameraView getMrzCameraView()
public void setMrzCameraView(@NotNull
io.scanbot.sdk.ui.view.mrz.MRZCameraView p)
@NotNull public NfcPassportView getNfcPassportView()
public void setNfcPassportView(@NotNull
NfcPassportView p)
@NotNull protected NfcPassportConfigHelper getConfigHelper()
protected void setConfigHelper(@NotNull
NfcPassportConfigHelper p)
public void onCreate(@Nullable
android.os.Bundle savedInstanceState)
@Nullable
public android.view.View onCreateView(@NotNull
android.view.LayoutInflater inflater,
@Nullable
android.view.ViewGroup container,
@Nullable
android.os.Bundle savedInstanceState)
public void onStart()
public void onStop()
@NotNull public io.scanbot.sdk.ui.utils.navigator.Navigator getNavigator()
public void onRequestPermissionsResult(int requestCode,
@NotNull
java.lang.String[] permissions,
@NotNull
kotlin.Array[] grantResults)
public void requestCameraPermission()
public void processNfcTag(@NotNull
android.nfc.Tag tag)
Process the NFC tag callback from the system
tag - to processpublic boolean onBackPressed()
Processing back press
public void mrzProcessed()
Indicates to user that the new mrz result was processed