public class NfcPassportPresenter
Presenter for class NfcPassportView
class NfcPassportView@Inject
public NfcPassportPresenter(@NotNull
io.scanbot.sdk.ui.utils.navigator.Navigator navigator,
@NotNull
io.reactivex.Scheduler backgroundTaskScheduler,
@NotNull
CheckNfcStateUseCase checkNfcStateUseCase,
@NotNull
ProcessNfcTagUseCase processNfcTagUseCase,
@NotNull
SaveNfcPassportImageUseCase saveNfcPassportImageUseCase,
@Nullable @Nullable
PassportPhotoSaveCallback passportPhotoSaveCallback,
@NotNull
io.scanbot.sdk.ui.view.mrz.MrzScanningSession mrzScanningSession)
Presenter for class NfcPassportView
class NfcPassportViewpublic void resume(@NotNull
INfcPassportView view)
public void pause()
public void retryClicked()
User press on the retry button
public boolean back()
public void backPressed()
User pressed on the back arrow
public void processNfcTag(@NotNull
android.nfc.Tag tag)
Extracts data from the nfc tag if it is needed
public void setSavePhotoImageAllowed(boolean allowed)
Enables/Disables saving of the photo image in sdk storage