Package com.trimblemaps.mapsdk.utils
Class FileUtils.CheckFileReadPermissionTask
- Enclosing class:
- FileUtils
public static class FileUtils.CheckFileReadPermissionTask
extends android.os.AsyncTask<File,Void,Boolean>
Task checking whether app's process can read a file.
The callback reference is strongly kept throughout the process, so it needs to be wrapped in a weak reference or released on the client side if necessary.
-
Nested Class Summary
Nested classes/interfaces inherited from class android.os.AsyncTask
android.os.AsyncTask.Status -
Field Summary
Fields inherited from class android.os.AsyncTask
SERIAL_EXECUTOR, THREAD_POOL_EXECUTOR -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleandoInBackground(File... files) protected voidprotected voidonPostExecute(Boolean result) Methods inherited from class android.os.AsyncTask
cancel, execute, execute, executeOnExecutor, get, get, getStatus, isCancelled, onCancelled, onPreExecute, onProgressUpdate, publishProgress
-
Constructor Details
-
CheckFileReadPermissionTask
-
-
Method Details