public abstract class GuardedAsyncTask<Params,Progress>
extends android.os.AsyncTask<Params,Progress,java.lang.Void>
NativeModuleCallExceptionHandler
registered if the app is in
dev mode.
This class doesn't allow doInBackground to return a results. If you need this use GuardedResultAsyncTask instead.
Modifier | Constructor and Description |
---|---|
protected |
GuardedAsyncTask(NativeModuleCallExceptionHandler exceptionHandler) |
protected |
GuardedAsyncTask(ReactContext reactContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Void |
doInBackground(Params... params) |
protected abstract void |
doInBackgroundGuarded(Params... params) |
@Deprecated protected GuardedAsyncTask(ReactContext reactContext)
protected GuardedAsyncTask(NativeModuleCallExceptionHandler exceptionHandler)