public abstract class CrashManagerListener
extends java.lang.Object
Constructor and Description |
---|
CrashManagerListener() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContact()
Return contact data or similar; note that this has privacy implications,
so you might want to return nil for release builds! The string will be
limited to 255 characters.
|
java.lang.String |
getDescription()
Return additional data, i.e.
|
int |
getMaxRetryAttempts()
Get the number of max retry attempts to send crashes to HockeyApp.
|
java.lang.String |
getUserID()
Return a user ID or similar; note that this has privacy implications,
so you might want to return nil for release builds! The string will be
limited to 255 characters.
|
boolean |
ignoreDefaultHandler()
Return true to ignore the default exception handler, i.e.
|
boolean |
includeDeviceData()
Return false to remove the device data (OS version, manufacturer, model)
from the crash log, e.g.
|
boolean |
includeDeviceIdentifier()
Return false to remove the stable device identifier from the
crash log, e.g.
|
boolean |
includeThreadDetails()
Return true to include information about the crashed thread if available.
|
void |
onConfirmedCrashesFound()
Called when the crash manager has found crash logs that were already
confirmed by the user or should have been auto uploaded, but the upload
failed, e.g.
|
void |
onCrashesNotSent()
Called when the crash manager failed to send crashes to HockeyApp, e.g.
|
void |
onCrashesSent()
Called when the crash manager has sent crashes to HockeyApp.
|
boolean |
onHandleAlertView()
Called when dialog should be displayed to inform the user about crash.
|
void |
onNewCrashesFound()
Called when the crash manager has found new crash logs.
|
void |
onNoCrashesFound()
Called when the crash manager didn't find any crash logs.
|
void |
onUserDeniedCrashes()
Called when the user denied to send crashes to HockeyApp.
|
boolean |
shouldAutoUploadCrashes()
Return true if you want to auto-send crashes.
|
public boolean ignoreDefaultHandler()
public boolean includeDeviceData()
public boolean includeDeviceIdentifier()
public boolean includeThreadDetails()
public java.lang.String getContact()
public java.lang.String getDescription()
public java.lang.String getUserID()
public boolean shouldAutoUploadCrashes()
public void onNewCrashesFound()
public void onConfirmedCrashesFound()
public void onNoCrashesFound()
public void onCrashesSent()
public void onCrashesNotSent()
public void onUserDeniedCrashes()
public int getMaxRetryAttempts()
public boolean onHandleAlertView()