public class ApiResultController
extends java.lang.Object
getService(android.app.Activity, sdk.zoop.one.offline_aadhaar.zoopController.ApiResultContainer, int, java.lang.String, org.json.JSONObject, java.lang.String)
method to make the API call which uses
ApiResultContainer
to handle the result from the API with in the SDK
Constructor and Description |
---|
ApiResultController() |
Modifier and Type | Method and Description |
---|---|
void |
getService(android.app.Activity activity,
ApiResultContainer responseHandler,
int reqMethod,
java.lang.String REQUESTURL,
org.json.JSONObject reqJson,
java.lang.String uid)
This method makes API Call to update SDK event
and handles result in success and failure event
|
public void getService(android.app.Activity activity, ApiResultContainer responseHandler, int reqMethod, java.lang.String REQUESTURL, org.json.JSONObject reqJson, java.lang.String uid)
activity
- Activity where the call is being maderesponseHandler
- where ApiResultContainer interface is implementedreqMethod
- REQUEST METHOD e.g. POST, GETREQUESTURL
- REQUEST URLreqJson
- requested json bodyuid
- aadhaar number/ VID