Classes
The following classes are available globally.
-
Static access to a Bugsnag Client, the easiest way to use Bugsnag in your app.
See moreDeclaration
Objective-C
@interface Bugsnag : NSObject <BugsnagClassLevelMetadataStore>
Swift
class Bugsnag : NSObject, BugsnagClassLevelMetadataStore
-
Stateless information set by the notifier about your app can be found on this class. These values can be accessed and amended if necessary.
See moreDeclaration
Objective-C
@interface BugsnagApp : NSObject
Swift
class BugsnagApp : NSObject
-
Stateful information set by the notifier about your app can be found on this class. These values can be accessed and amended if necessary.
See moreDeclaration
Objective-C
@interface BugsnagAppWithState : BugsnagApp
Swift
class BugsnagAppWithState : BugsnagApp
-
A short log message, representing an action that occurred in your app, to aid with debugging.
See moreDeclaration
Objective-C
@class BugsnagBreadcrumb;
Swift
class BugsnagBreadcrumb : NSObject
-
The BugsnagClient is not intended to be used directly.
Use the static access provided by the Bugsnag class instead.
See moreDeclaration
Objective-C
@interface BugsnagClient : NSObject <BugsnagFeatureFlagStore, BugsnagMetadataStore>
Swift
class BugsnagClient : NSObject, BugsnagFeatureFlagStore, BugsnagMetadataStore
-
Contains user-provided configuration, including API key and endpoints.
See moreDeclaration
Objective-C
@interface BugsnagConfiguration : NSObject <BugsnagFeatureFlagStore, BugsnagMetadataStore>
Swift
class BugsnagConfiguration : NSObject, BugsnagFeatureFlagStore, BugsnagMetadataStore
-
Stateless information set by the notifier about the device on which the event occurred can be found on this class. These values can be accessed and amended if necessary.
See moreDeclaration
Objective-C
@interface BugsnagDevice : NSObject
Swift
class BugsnagDevice : NSObject
-
Stateful information set by the notifier about the device on which the event occurred can be found on this class. These values can be accessed and amended if necessary.
See moreDeclaration
Objective-C
@interface BugsnagDeviceWithState : BugsnagDevice
Swift
class BugsnagDeviceWithState : BugsnagDevice
-
Set the endpoints to send data to. By default we’ll send error reports to https://notify.bugsnag.com, and sessions to https://sessions.bugsnag.com, but you can override this if you are using Bugsnag Enterprise to point to your own Bugsnag endpoints.
See moreDeclaration
Objective-C
@interface BugsnagEndpointConfiguration : NSObject
Swift
class BugsnagEndpointConfiguration : NSObject
-
An Error represents information extracted from an NSError, NSException, or other error source.
See moreDeclaration
Objective-C
@interface BugsnagError : NSObject
Swift
class BugsnagError : NSObject
-
The types of error that should be reported.
See moreDeclaration
Objective-C
@interface BugsnagErrorTypes : NSObject
Swift
class BugsnagErrorTypes : NSObject
-
Represents an occurrence of an error, along with information about the state of the app and device.
See moreDeclaration
Objective-C
@interface BugsnagEvent : NSObject <BugsnagFeatureFlagStore, BugsnagMetadataStore>
Swift
class BugsnagEvent : NSObject, BugsnagFeatureFlagStore, BugsnagMetadataStore
-
Undocumented
See moreDeclaration
Objective-C
@interface BugsnagFeatureFlag : NSObject + (instancetype)flagWithName:(NSString *)name; + (instancetype)flagWithName:(NSString *)name variant:(nullable NSString *)variant; @property (readonly, nonatomic) NSString *name; @property (nullable, readonly, nonatomic) NSString *variant; @end
Swift
class BugsnagFeatureFlag : NSObject
-
Contains information about the last run of the app.
See moreDeclaration
Objective-C
@interface BugsnagLastRunInfo : NSObject
Swift
class BugsnagLastRunInfo : NSObject
-
Represents a session of user interaction with your app.
See moreDeclaration
Objective-C
@interface BugsnagSession : NSObject
Swift
class BugsnagSession : NSObject
-
Represents a single stackframe from a stacktrace.
See moreDeclaration
Objective-C
@interface BugsnagStackframe : NSObject
Swift
class BugsnagStackframe : NSObject
-
A representation of thread information recorded as part of a BugsnagEvent.
See moreDeclaration
Objective-C
@interface BugsnagThread : NSObject
Swift
class BugsnagThread : NSObject
-
Information about the current user of your application.
See moreDeclaration
Objective-C
@interface BugsnagUser : NSObject
Swift
class BugsnagUser : NSObject