public class IdCardFieldListPresenter
Presenter for interface IIdCardFieldListView
interface IIdCardFieldListView@Inject
public IdCardFieldListPresenter(@NotNull
io.scanbot.sdk.ui.utils.navigator.Navigator navigator,
@NotNull
IdCardScanningSession idCardScanningSession,
@NotNull
SaveIdCardImagesUseCase saveIdCardImagesUseCase)
Presenter for interface IIdCardFieldListView
interface IIdCardFieldListViewpublic void resume(@NotNull
IIdCardFieldListView view)
public void pause()
public void submitButtonClick()
User wants to finish the flow
public void clearClick()
User wants to clear the list of items
public void detailsOpened()
User opened the details screen
public void detailsClosed()
User closed the details screen
public void setSavePhotoImageAllowed(boolean allowed)
Enables/Disables saving of the photo image in sdk storage
public void setSaveSignatureImageAllowed(boolean allowed)
Enables/Disables saving of the signature image in sdk storage
public void setAcceptedDocumentTypes(@NotNull
java.util.ArrayList<io.scanbot.sdk.idcardscanner.IdScanResult.DocumentType> documentTypes)
Accepted document types. All other document types will be ignored.
By default - IdScanResult.DocumentType.DEFAULT_TYPES.