Class PermissionsTask
- java.lang.Object
- 
- android.os.AsyncTask<Void,Void,T>
- 
- com.aerisweather.aeris.communication.CommunicationTask<AerisPermissionsResponse>
- 
- com.aerisweather.aeris.communication.PermissionsTask
 
 
 
- 
 public class PermissionsTask extends CommunicationTask<AerisPermissionsResponse> Task that will use the client information and query the Aeris API to see what permission the client has for accessing the API. The AerisEngine will automatically query this whenAerisEngine.initWithKeys(String, String, Context)is called
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfacePermissionsTask.PermissionsCallbackCallback interface for handling the response for the permissions.
 - 
Field Summary- 
Fields inherited from class com.aerisweather.aeris.communication.CommunicationTaskcontext, progressListener, request
 
- 
 - 
Constructor SummaryConstructors Constructor Description PermissionsTask(android.content.Context context, PermissionsTask.PermissionsCallback callback)Initialize with a context and a callback interface to handle the response.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AerisPermissionsResponsedoInBackground(Void... params)protected voidonPostExecute(AerisPermissionsResponse result)- 
Methods inherited from class com.aerisweather.aeris.communication.CommunicationTaskexecuteSyncTask, isOnline, onCancelled, onPreExecute, unknownBatchError, unknownError, withProgress
 
- 
 
- 
- 
- 
Constructor Detail- 
PermissionsTaskpublic PermissionsTask(android.content.Context context, PermissionsTask.PermissionsCallback callback)Initialize with a context and a callback interface to handle the response.- Parameters:
- context- context to use
- callback- callback interface to pass response back to
 
 
- 
 - 
Method Detail- 
doInBackgroundprotected AerisPermissionsResponse doInBackground(Void... params) - Overrides:
- doInBackgroundin class- CommunicationTask<AerisPermissionsResponse>
 
 - 
onPostExecuteprotected void onPostExecute(AerisPermissionsResponse result) - Overrides:
- onPostExecutein class- CommunicationTask<AerisPermissionsResponse>
 
 
- 
 
-