Package com.batch.android
Class WebserviceParameterUtils
java.lang.Object
com.batch.android.WebserviceParameterUtils
Utility class to easily get webservice parameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JSONObject
getWebserviceIdsAsJson
(Context context) Get webservice ids parameters as json objectgetWebserviceIdsAsMap
(Context context) Get webservice ids parameters as map
-
Constructor Details
-
WebserviceParameterUtils
public WebserviceParameterUtils()
-
-
Method Details
-
getWebserviceIdsAsMap
Get webservice ids parameters as map- Parameters:
context
- context- Returns:
- A Map of parameters to attach in a webservice
-
getWebserviceIdsAsJson
Get webservice ids parameters as json object- Parameters:
context
- context- Returns:
- A JSONObject of parameters to attach in a webservice
-