Class FileUtils.CheckFileWritePermissionTask

java.lang.Object
android.os.AsyncTask<File,Void,Boolean>
com.trimblemaps.mapsdk.utils.FileUtils.CheckFileWritePermissionTask
Enclosing class:
FileUtils

public static class FileUtils.CheckFileWritePermissionTask extends android.os.AsyncTask<File,Void,Boolean>
Task checking whether app's process can write to 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.

  • Constructor Details

  • Method Details

    • doInBackground

      protected Boolean doInBackground(File... files)
      Specified by:
      doInBackground in class android.os.AsyncTask<File,Void,Boolean>
    • onCancelled

      protected void onCancelled()
      Overrides:
      onCancelled in class android.os.AsyncTask<File,Void,Boolean>
    • onPostExecute

      protected void onPostExecute(Boolean result)
      Overrides:
      onPostExecute in class android.os.AsyncTask<File,Void,Boolean>