BugsnagThread
Objective-C
@interface BugsnagThread : NSObject
Swift
class BugsnagThread : NSObject
A representation of thread information recorded as part of a BugsnagEvent.
-
A unique ID which identifies this thread
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *id;
Swift
var id: String? { get set }
-
The name which identifies this thread
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *name;
Swift
var name: String? { get set }
-
Whether the error being reported happened in this thread
Declaration
Objective-C
@property (nonatomic, readonly) BOOL errorReportingThread;
Swift
var errorReportingThread: Bool { get }
-
The current state of this thread
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *state;
Swift
var state: String? { get set }
-
Sets a representation of this thread’s stacktrace
Declaration
Objective-C
@property (nonatomic, copy, nonnull) NSArray<BugsnagStackframe *> *stacktrace;
Swift
var stacktrace: [BugsnagStackframe] { get set }
-
Determines the type of thread based on the originating platform (intended for internal use only)
Declaration
Objective-C
@property (nonatomic) BSGThreadType type;
Swift
var type: BSGThreadType { get set }