zworld-em/Plugins/sentry-unreal/Source/ThirdParty/Mac/include/Sentry/SentryEnvelopeItemHeader.h
2025-05-11 22:07:21 +08:00

34 lines
1019 B
Objective-C

#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif
NS_ASSUME_NONNULL_BEGIN
@interface SentryEnvelopeItemHeader : NSObject <SentrySerializable>
SENTRY_NO_INIT
- (instancetype)initWithType:(NSString *)type length:(NSUInteger)length NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithType:(NSString *)type
length:(NSUInteger)length
contentType:(NSString *)contentType;
- (instancetype)initWithType:(NSString *)type
length:(NSUInteger)length
filenname:(NSString *)filename
contentType:(NSString *)contentType;
/**
* The type of the envelope item.
*/
@property (nonatomic, readonly, copy) NSString *type;
@property (nonatomic, readonly) NSUInteger length;
@property (nonatomic, readonly, copy, nullable) NSString *filename;
@property (nonatomic, readonly, copy, nullable) NSString *contentType;
@end
NS_ASSUME_NONNULL_END