Class AerisCommunicationTask

    • Constructor Detail

      • AerisCommunicationTask

        public AerisCommunicationTask​(android.content.Context context,
                                      AerisCallback callback,
                                      AerisRequest request)
        Constructs the communication task with a context to use, a callback and a request
        Parameters:
        context - Context to use to check with
        callback - The callback after the communication has been executed and returned.
        request - Request to use in the thread.
      • AerisCommunicationTask

        public AerisCommunicationTask​(android.content.Context context,
                                      AerisRequest request)
        Constructs the communication task with a context to use, and a request. This constructor is intended to be used with CommunicationTask.executeSyncTask() where the task is executed in a non-thread environment and the call will wait for the return object.
        Parameters:
        context - Context to use to check with
        request - Request to use in the thread.