BugsnagDeviceWithState
Objective-C
@interface BugsnagDeviceWithState : BugsnagDevice
Swift
class BugsnagDeviceWithState : BugsnagDevice
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.
-
The number of free bytes of storage available on the device.
Note: This field is no longer auto-populated on iOS, watchOS, or tvOS in order to comply with Apple “grey API” guidelines. If you populate it manually, it will be reported.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *freeDisk;Swift
var freeDisk: NSNumber? { get set } -
The number of free bytes of memory available on the device
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *freeMemory;Swift
var freeMemory: NSNumber? { get set } -
The orientation of the device when the event occurred
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *orientation;Swift
var orientation: String? { get set } -
The timestamp on the device when the event occurred
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *time;Swift
var time: Date? { get set }
View on GitHub
Install in Dash
BugsnagDeviceWithState Class Reference