BITCrashManagerDelegate Protocol Reference
| Conforms to | NSObject |
| Declared in | BITCrashManagerDelegate.h |
Overview
The BITCrashManagerDelegate formal protocol defines methods further configuring
the behaviour of BITCrashManager.
Tasks
Additional meta data
Alert
-
– crashManagerWillShowSubmitCrashReportAlert: -
– crashManagerWillCancelSendingCrashReport: -
– crashManagerWillSendCrashReportsAlways:
Networking
Instance Methods
applicationLogForCrashManager:
Return any log string based data the crash report being processed should contain
- (NSString *)applicationLogForCrashManager:(BITCrashManager *)crashManagerParameters
- crashManager
The
BITCrashManagerinstance invoking this delegate
Declared In
BITCrashManagerDelegate.hcrashManager:didFailWithError:
Invoked after sending crash reports failed
- (void)crashManager:(BITCrashManager *)crashManager didFailWithError:(NSError *)errorParameters
- crashManager
The
BITCrashManagerinstance invoking this delegate
- error
The error returned from the NSURLConnection call or
kBITCrashErrorDomainwith reason of typeBITCrashErrorReason.
Declared In
BITCrashManagerDelegate.hcrashManagerDidFinishSendingCrashReport:
Invoked after sending crash reports succeeded
- (void)crashManagerDidFinishSendingCrashReport:(BITCrashManager *)crashManagerParameters
- crashManager
The
BITCrashManagerinstance invoking this delegate
Declared In
BITCrashManagerDelegate.hcrashManagerWillCancelSendingCrashReport:
Invoked after the user did choose NOT to send a crash in the alert
- (void)crashManagerWillCancelSendingCrashReport:(BITCrashManager *)crashManagerParameters
- crashManager
The
BITCrashManagerinstance invoking this delegate
Declared In
BITCrashManagerDelegate.hcrashManagerWillSendCrashReport:
Invoked right before sending crash reports will start
- (void)crashManagerWillSendCrashReport:(BITCrashManager *)crashManagerParameters
- crashManager
The
BITCrashManagerinstance invoking this delegate
Declared In
BITCrashManagerDelegate.hcrashManagerWillSendCrashReportsAlways:
Invoked after the user did choose to send crashes always in the alert
- (void)crashManagerWillSendCrashReportsAlways:(BITCrashManager *)crashManagerParameters
- crashManager
The
BITCrashManagerinstance invoking this delegate
Declared In
BITCrashManagerDelegate.hcrashManagerWillShowSubmitCrashReportAlert:
Invoked before the user is asked to send a crash report, so you can do additional actions. E.g. to make sure not to ask the user for an app rating :)
- (void)crashManagerWillShowSubmitCrashReportAlert:(BITCrashManager *)crashManagerParameters
- crashManager
The
BITCrashManagerinstance invoking this delegate
Declared In
BITCrashManagerDelegate.huserEmailForCrashManager:
Return the users email address that should be send along each crash report (Deprecated: Please use BITHockeyManagerDelegate userEmailForHockeyManager:componentManager: instead)
- (NSString *)userEmailForCrashManager:(BITCrashManager *)crashManagerParameters
- crashManager
The
BITCrashManagerinstance invoking this delegate
Discussion
Warning: When returning a non nil value, crash reports are not anonymous any more and the alerts will not show the “anonymous” word!
Declared In
BITCrashManagerDelegate.huserNameForCrashManager:
Return the user name or userid that should be send along each crash report (Deprecated: Please use BITHockeyManagerDelegate userNameForHockeyManager:componentManager: instead)
- (NSString *)userNameForCrashManager:(BITCrashManager *)crashManagerParameters
- crashManager
The
BITCrashManagerinstance invoking this delegate
Discussion
Warning: When returning a non nil value, crash reports are not anonymous any more and the alerts will not show the “anonymous” word!
Declared In
BITCrashManagerDelegate.h