Interface VerIDSessionDelegate

    • Method Detail

      • onSessionCanceled

        default void onSessionCanceled​(@NonNull
                                       IVerIDSession<?> session)
        Called when session is canceled by the user
        Parameters:
        session - Session that was canceled
        Since:
        2.0.0
      • shouldSessionDisplayResult

        default boolean shouldSessionDisplayResult​(@NonNull
                                                   IVerIDSession<?> session,
                                                   @NonNull
                                                   VerIDSessionResult result)
        Called to see whether the session should display the session result to the user
        Parameters:
        session - Session
        result - Result to be displayed
        Returns:
        true to let the session display its result to the user or false to finish the session without displaying the result to the user
        Since:
        2.0.0
      • createSessionViewFactory

        @NonNull
        default <V extends android.view.View & ISessionView> java.util.function.Function<android.content.Context,​V> createSessionViewFactory​(@NonNull
                                                                                                                                                   IVerIDSession<?> session)
      • getSessionActivityClass

        @NonNull
        default <A extends android.app.Activity & ISessionActivity> java.lang.Class<A> getSessionActivityClass​(@NonNull
                                                                                                               IVerIDSession<?> session)