BSGThreadSendPolicy
Objective-C
enum BSGThreadSendPolicy : NSInteger {}
Swift
enum BSGThreadSendPolicy : Int, @unchecked Sendable
Controls whether Bugsnag should capture and serialize the state of all threads at the time of an error.
-
Threads should be captured for all events.
Declaration
Objective-C
BSGThreadSendPolicyAlways = 0
Swift
case always = 0
-
Threads should be captured for unhandled events only.
Declaration
Objective-C
BSGThreadSendPolicyUnhandledOnly = 1
Swift
case unhandledOnly = 1
-
Threads should never be captured.
Declaration
Objective-C
BSGThreadSendPolicyNever = 2
Swift
case never = 2