API Reference

com.kinvey.android.async

Class AsyncRequest<T>

  • AsyncClientRequest
    • com.kinvey.android.async.AsyncRequest<T>
  • Direct Known Subclasses:
    AsyncDownloadRequest, AsyncUploadRequest


    public class AsyncRequest<T>
    extends AsyncClientRequest

    This implementation of an AsyncClientRequest is used to wrap the core app data API. It provides the ability to execute a given method with a given arguments using reflection.

    • Constructor Detail

      • AsyncRequest

        public AsyncRequest(java.lang.Object scope,
                            java.lang.reflect.Method mMethod,
                            com.kinvey.java.core.KinveyClientCallback<T> callback,
                            java.lang.Object args)

        This implementation of an AsyncClientRequest is used to wrap the core app data API. It provides the ability to execute a given method with a given arguments using reflection.

    • Method Detail

      • executeAsync

        public T executeAsync()
      • getScope

        public java.lang.Object getScope()
      • setScope

        public void setScope(java.lang.Object p)
      • getMMethod

        public java.lang.reflect.Method getMMethod()
      • setMMethod

        public void setMMethod(java.lang.reflect.Method p)
      • getArgs

        public java.lang.Object[] getArgs()
      • setArgs

        public void setArgs(java.lang.Object[] p)