Class MGAbstractAsyncHandler<T>
java.lang.Object
android.os.Handler
com.gemalto.mfs.mwsdk.mobilegateway.utils.MGAbstractAsyncHandler<T>
public abstract class MGAbstractAsyncHandler<T>
extends android.os.Handler
MGAbstractAsyncHandler class extends the Android OS Handler and is responsible for posting the messages to the UI thread after a MG SDK task is completed.
This is an abstract class. MPA is responsible to implement the abstract methods.
-
Nested Class Summary
Nested classes/interfaces inherited from class android.os.Handler
android.os.Handler.Callback -
Constructor Summary
ConstructorsConstructorDescriptionMGAbstractAsyncHandler(android.os.Handler.Callback callback) MGAbstractAsyncHandler(android.os.Looper looper) MGAbstractAsyncHandler(android.os.Looper looper, android.os.Handler.Callback callback) -
Method Summary
Modifier and TypeMethodDescriptionabstract voidonComplete(MGAsyncResult<T> result) This method will be executed once the module has successfully completed an operation.Methods inherited from class android.os.Handler
createAsync, createAsync, dispatchMessage, dump, getLooper, getMessageName, handleMessage, hasCallbacks, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString
-
Constructor Details
-
MGAbstractAsyncHandler
public MGAbstractAsyncHandler() -
MGAbstractAsyncHandler
public MGAbstractAsyncHandler(android.os.Handler.Callback callback) -
MGAbstractAsyncHandler
public MGAbstractAsyncHandler(android.os.Looper looper) -
MGAbstractAsyncHandler
public MGAbstractAsyncHandler(android.os.Looper looper, android.os.Handler.Callback callback)
-
-
Method Details
-
onComplete
This method will be executed once the module has successfully completed an operation.- Parameters:
result- Indicates the result of the operation.
-