public static class FileUtils.CheckFileWritePermissionTask
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 and Description |
---|
CheckFileWritePermissionTask(FileUtils.OnCheckFileWritePermissionListener listener) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Boolean |
doInBackground(java.io.File... files) |
protected void |
onCancelled() |
protected void |
onPostExecute(java.lang.Boolean result) |
public CheckFileWritePermissionTask(@NonNull FileUtils.OnCheckFileWritePermissionListener 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>