public class ErrorLogsClient
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_TYPE_POST_ERROR_LOGS |
protected static java.lang.String |
TAG |
Constructor and Description |
---|
ErrorLogsClient(android.content.Context context)
ctor
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
onRequestConnectionError(Request request,
RequestManager.ConnectionError ce) |
void |
onRequestCustomError(Request request,
android.os.Bundle resultData) |
void |
onRequestDataError(Request request) |
void |
onRequestFinished(Request request,
android.os.Bundle resultData) |
void |
post(java.io.File errorFile,
java.lang.String serverUrl,
boolean background,
java.lang.String uid,
java.lang.String callsign,
java.lang.String versionName,
java.lang.String versionCode) |
void |
sendLogsToServer(java.io.File logz,
java.lang.String server,
boolean background,
java.lang.String uid,
java.lang.String callsign) |
protected static final java.lang.String TAG
public static final int REQUEST_TYPE_POST_ERROR_LOGS
public void dispose()
public void sendLogsToServer(java.io.File logz, java.lang.String server, boolean background, java.lang.String uid, java.lang.String callsign)
public void post(java.io.File errorFile, java.lang.String serverUrl, boolean background, java.lang.String uid, java.lang.String callsign, java.lang.String versionName, java.lang.String versionCode)
public void onRequestFinished(Request request, android.os.Bundle resultData)
public void onRequestConnectionError(Request request, RequestManager.ConnectionError ce)
public void onRequestDataError(Request request)
public void onRequestCustomError(Request request, android.os.Bundle resultData)