Digital Authentication Framework
6.0.1.37
|
Provide an implementation of this interface to be informed of the results of a DAF enrollment, authentication, passphrase change, or device change operation. More...
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... | |
Provide an implementation of this interface to be informed of the results of a DAF enrollment, authentication, passphrase change, or device change operation.
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.
e | the 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.