Type Definitions
The following type definitions are available globally.
-
Encapsulates report writing functionality.
See moreDeclaration
Objective-C
typedef struct BSG_KSCrashReportWriter BSG_KSCrashReportWriter -
Undocumented
Declaration
Objective-C
typedef void (*BSG_KSReportWriteCallback)( const BSG_KSCrashReportWriter *writer)Swift
typealias BSG_KSReportWriteCallback = (UnsafePointer<BSG_KSCrashReportWriter>?) -> Void -
A configuration block for modifying an error report
Declaration
Objective-C
typedef BOOL (^BugsnagOnErrorBlock)(BugsnagEvent *_Nonnull)Swift
typealias BugsnagOnErrorBlock = (BugsnagEvent) -> BoolParameters
eventthe error report to be modified
-
A handler for modifying data before sending it to Bugsnag.
onSendErrorBlocks will be invoked on a dedicated background queue, which will be different from the queue where the block was originally added.
Declaration
Objective-C
typedef BOOL (^BugsnagOnSendErrorBlock)(BugsnagEvent *_Nonnull)Swift
typealias BugsnagOnSendErrorBlock = (BugsnagEvent) -> BoolParameters
eventThe event report.
Return Value
YES if the event should be sent
-
An opaque object that identifies and allows the removal of a BugsnagOnSendErrorBlock.
Declaration
Objective-C
typedef id<NSObject> BugsnagOnSendErrorRefSwift
typealias BugsnagOnSendErrorRef = NSObjectProtocol -
A configuration block for modifying a captured breadcrumb
Declaration
Objective-C
typedef BOOL (^BugsnagOnBreadcrumbBlock)(BugsnagBreadcrumb *_Nonnull)Swift
typealias BugsnagOnBreadcrumbBlock = (BugsnagBreadcrumb) -> BoolParameters
breadcrumbThe breadcrumb
-
An opaque object that identifies and allows the removal of a BugsnagOnBreadcrumbBlock.
Declaration
Objective-C
typedef id<NSObject> BugsnagOnBreadcrumbRefSwift
typealias BugsnagOnBreadcrumbRef = NSObjectProtocol -
A configuration block for modifying a session. Intended for internal usage only.
Declaration
Objective-C
typedef BOOL (^BugsnagOnSessionBlock)(BugsnagSession *_Nonnull)Swift
typealias BugsnagOnSessionBlock = (BugsnagSession) -> BoolParameters
sessionThe session about to be delivered
-
An opaque object that identifies and allows the removal of a BugsnagOnSessionBlock.
Declaration
Objective-C
typedef id<NSObject> BugsnagOnSessionRefSwift
typealias BugsnagOnSessionRef = NSObjectProtocol -
Undocumented
Declaration
Objective-C
typedef NSString * BugsnagStackframeTypeSwift
struct BugsnagStackframeType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
View on GitHub
Install in Dash
Type Definitions Reference