public class Network
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkNetworkConnectivity(ResponseHandler responseHandler)
Check the network connectivity for the DotDashPay Chip.
|
static Network |
getInstance() |
static void |
postData(java.lang.Object data,
java.lang.String url,
ResponseHandler responseHandler)
Send an HTTP POST request with the `data` argument to the `url` argument
|
public static Network getInstance()
public static void checkNetworkConnectivity(ResponseHandler responseHandler)
responseHandler - public static void postData(java.lang.Object data,
java.lang.String url,
ResponseHandler responseHandler)
data: - the data that will be posted to `url` and is encoded into the POST string
by calling data.toString()url: - the url where the data is POSTed toresponseHandler: -