Digital Authentication Framework  6.0.1.37
Public Member Functions | List of all members
com.good.daf.app.ProgressCallback Interface Reference

Provide an implementation of this interface to be informed of the results of a DAF enrollment, authentication, passphrase change, or device change operation. More...

Inheritance diagram for com.good.daf.app.ProgressCallback:
com.good.daf.app.GeneralProcessParams com.good.daf.app.AuthProcessParams com.good.daf.app.ChangeDeviceProcessParams com.good.daf.app.ChangePassphraseProcessParams com.good.daf.app.EnrollProcessParams

Public Member Functions

void onStart ()
 Called on the UI thread when the background processing thread is about to start work. More...
 
void onSuccess ()
 Called on the UI thread when the background processing thread completes its work successfully. More...
 
void onError (Exception e)
 Called on the UI thread when the background processing thread fails due to an error. More...
 

Detailed Description

Provide an implementation of this interface to be informed of the results of a DAF enrollment, authentication, passphrase change, or device change operation.

Member Function Documentation

void com.good.daf.app.ProgressCallback.onError ( Exception  e)

Called on the UI thread when the background processing thread fails due to an error.

Common such exceptions are: - AccessControlException when a supplied existing passphrase is incorrect - DAFException when a protocol operation fails due to a daf error

You can use this opportunity to classify and identify common errors, and make a decision whether to retry the overall operation, inform the user of the error, or both.

Parameters
ethe exception which caused this error.

Implemented in com.good.daf.app.GeneralProcessParams.

void com.good.daf.app.ProgressCallback.onStart ( )

Called on the UI thread when the background processing thread is about to start work.

You can use this opportunity to display, for example, a ProgressDialog to ask the user to wait.

Implemented in com.good.daf.app.GeneralProcessParams.

void com.good.daf.app.ProgressCallback.onSuccess ( )

Called on the UI thread when the background processing thread completes its work successfully.

You can use this opportunity to dismiss any dialog displayed to the user during the process.

Implemented in com.good.daf.app.GeneralProcessParams.


The documentation for this interface was generated from the following file: