@Deprecated public interface SitumResponseHandler<T>
Modifier and Type | Method and Description |
---|---|
void |
onErrorReceived(int statuscode,
org.apache.http.Header[] headers,
byte[] bytes,
Throwable throwable)
Deprecated.
Callback that is called in case there is any error while downloading the data from Situm Indoor Maps Server
|
void |
onListReceived(List<T> data)
Deprecated.
Callback to receive the list of data of type Template from Situm Indoor Maps Server
|
void onListReceived(List<T> data)
data
- list of data of type Template receivedvoid onErrorReceived(int statuscode, org.apache.http.Header[] headers, byte[] bytes, Throwable throwable)
statuscode
- HTML status codeheaders
- HTML headers. Can be nullbytes
- Bytes containing the HTML responsethrowable
- Error obtained