public static class FileUtils.CheckFileReadPermissionTask
extends android.os.AsyncTask<java.io.File,java.lang.Void,java.lang.Boolean>
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.
Constructor | Description |
---|---|
CheckFileReadPermissionTask(FileUtils.OnCheckFileReadPermissionListener listener) |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.Boolean |
doInBackground(java.io.File... files) |
|
protected void |
onCancelled() |
|
protected void |
onPostExecute(java.lang.Boolean result) |
public CheckFileReadPermissionTask(@NonNull FileUtils.OnCheckFileReadPermissionListener listener)
protected java.lang.Boolean doInBackground(java.io.File... files)
doInBackground
in class android.os.AsyncTask<java.io.File,java.lang.Void,java.lang.Boolean>
protected void onCancelled()
onCancelled
in class android.os.AsyncTask<java.io.File,java.lang.Void,java.lang.Boolean>
protected void onPostExecute(java.lang.Boolean result)
onPostExecute
in class android.os.AsyncTask<java.io.File,java.lang.Void,java.lang.Boolean>