public interface LiClient
Modifier and Type | Method and Description |
---|---|
Gson |
getGson()
Method to return
LiRestClient.gson |
lithium.community.android.sdk.api.LiBaseClient.RequestType |
getRequestType()
Method to get Request Type
|
java.lang.String |
getType()
Method to return type
|
void |
processAsync(LiAsyncRequestCallback callback)
Method to make client request an async call
|
void |
processAsync(LiAsyncRequestCallback callback,
java.lang.String imagePath,
java.lang.String imageName)
Method to make client request to upload an image in a async call
|
LiClientResponse |
processSync()
Method to make client request a sync call
|
LiClient |
setOrdering(LiQueryOrdering liQueryOrdering)
Method to set Ordering in LIQL where clause.
|
void processAsync(LiAsyncRequestCallback callback) throws LiRestResponseException
callback
- LiAsyncRequestCallback
LiRestResponseException
void processAsync(LiAsyncRequestCallback callback, java.lang.String imagePath, java.lang.String imageName) throws LiRestResponseException
callback
- LiAsyncRequestCallback
imageName
- This is name of the image file.imagePath
- This is absolute path of image.
Note: the imageName and the filename in the absolute path param above must be equal.LiRestResponseException
LiClientResponse processSync() throws LiRestResponseException
LiRestResponseException
Gson getGson()
LiRestClient.gson
java.lang.String getType()
lithium.community.android.sdk.api.LiBaseClient.RequestType getRequestType()
LiClient setOrdering(LiQueryOrdering liQueryOrdering)
liQueryOrdering
- LiQueryOrdering