-
-
Notifications
You must be signed in to change notification settings - Fork 340
/
Copy pathSentryUserFeedback.h
48 lines (38 loc) · 1.07 KB
/
SentryUserFeedback.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
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif
NS_ASSUME_NONNULL_BEGIN
@class SentryId;
/**
* Adds additional information about what happened to an event.
*/
NS_SWIFT_NAME(UserFeedback)
@interface SentryUserFeedback : NSObject <SentrySerializable>
SENTRY_NO_INIT
/**
* Initializes SentryUserFeedback and sets the required eventId.
* @param eventId The eventId of the event to which the user feedback is associated.
*/
- (instancetype)initWithEventId:(SentryId *)eventId;
/**
* The eventId of the event to which the user feedback is associated.
*/
@property (readonly, nonatomic, strong) SentryId *eventId;
/**
* The name of the user.
*/
@property (nonatomic, copy) NSString *name;
/**
* The email of the user.
*/
@property (nonatomic, copy) NSString *email;
/**
* Comments of the user about what happened.
*/
@property (nonatomic, copy) NSString *comments;
@end
NS_ASSUME_NONNULL_END