-
-
Notifications
You must be signed in to change notification settings - Fork 340
/
Copy pathSentryFrame.h
85 lines (66 loc) · 1.85 KB
/
SentryFrame.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#import <Foundation/Foundation.h>
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif
NS_ASSUME_NONNULL_BEGIN
NS_SWIFT_NAME(Frame)
@interface SentryFrame : NSObject <SentrySerializable>
/**
* SymbolAddress of the frame
*/
@property (nonatomic, copy) NSString *_Nullable symbolAddress;
/**
* Filename is used only for reporting JS frames
*/
@property (nonatomic, copy) NSString *_Nullable fileName;
/**
* Function name of the frame
*/
@property (nonatomic, copy) NSString *_Nullable function;
/**
* Module of the frame, mostly unused
*/
@property (nonatomic, copy) NSString *_Nullable module;
/**
* Corresponding package
*/
@property (nonatomic, copy) NSString *_Nullable package;
/**
* ImageAddress if the image related to the frame
*/
@property (nonatomic, copy) NSString *_Nullable imageAddress;
/**
* Set the platform for the individual frame, will use platform of the event.
* Mostly used for react native crashes.
*/
@property (nonatomic, copy) NSString *_Nullable platform;
/**
* InstructionAddress of the frame hex format
*/
@property (nonatomic, copy) NSString *_Nullable instructionAddress;
/**
* InstructionAddress of the frame
*/
@property (nonatomic) NSUInteger instruction;
/**
* User for react native, will be ignored for cocoa frames
*/
@property (nonatomic, copy) NSNumber *_Nullable lineNumber;
/**
* User for react native, will be ignored for cocoa frames
*/
@property (nonatomic, copy) NSNumber *_Nullable columnNumber;
/**
* Determines if the Frame is inApp or not
*/
@property (nonatomic, copy) NSNumber *_Nullable inApp;
/**
* Determines if the Frame is the base of an async continuation.
*/
@property (nonatomic, copy) NSNumber *_Nullable stackStart;
- (instancetype)init;
+ (instancetype)new NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END