public abstract class

AsyncClientRequest

extends AsyncTask<Params, Progress, Result>
implements AsyncExecutor<T>
java.lang.Object
   ↳ android.os.AsyncTask<Params, Progress, Result>
     ↳ com.kinvey.android.AsyncClientRequest<T>

Class Overview

Abstract AsyncClientRequest class - used for Kinvey Callbacks.

Summary

Nested Classes
enum AsyncClientRequest.ExecutorType  
[Expand]
Inherited Fields
From class android.os.AsyncTask
Public Constructors
AsyncClientRequest(KinveyClientCallback callback)

Constructor for AsyncClientRequest.

Public Methods
AsyncTask<Object, Void, T> execute(AsyncClientRequest.ExecutorType type, Object... params)
KinveyClientCallback getCallback()
Get the callback for this request
void notify(T object)
[Expand]
Inherited Methods
From class android.os.AsyncTask
From class java.lang.Object
From interface com.kinvey.java.core.AsyncExecutor

Public Constructors

public AsyncClientRequest (KinveyClientCallback callback)

Constructor for AsyncClientRequest.

Parameters
callback a KinveyClientCallback object.

Public Methods

public AsyncTask<Object, Void, T> execute (AsyncClientRequest.ExecutorType type, Object... params)

public KinveyClientCallback getCallback ()

Get the callback for this request

Returns
  • the callback for this request, or null if one hasn't been set.

public void notify (T object)