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 in complete. This is an abstract class. The MPA is responsible to implement the abstract methods.
-
-
Constructor Summary
Constructors Constructor Description MGAbstractAsyncHandler()
MGAbstractAsyncHandler(android.os.Handler.Callback callback)
MGAbstractAsyncHandler(android.os.Looper looper)
MGAbstractAsyncHandler(android.os.Looper looper, android.os.Handler.Callback callback)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
onComplete(MGAsyncResult<T> result)
Method that 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 Detail
-
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 Detail
-
onComplete
public abstract void onComplete(MGAsyncResult<T> result)
Method that will be executed once the module has successfully completed an operation.- Parameters:
result
- indicates the result of the operation
-
-