@@ -384,7 +384,7 @@ interface SentryDsn
384384 [ Export ( "getHash" ) ]
385385 string Hash { get ; }
386386
387- // -(NSURL * _Nonnull)getStoreEndpoint;
387+ // -(NSURL * _Nonnull)getStoreEndpoint __attribute__((deprecated("This endpoint is no longer used"))) ;
388388 [ Export ( "getStoreEndpoint" ) ]
389389 NSUrl StoreEndpoint { get ; }
390390
@@ -412,6 +412,10 @@ interface SentryEnvelopeItemHeader : SentrySerializable
412412 [ Export ( "initWithType:length:filenname:contentType:" ) ]
413413 NativeHandle Constructor ( string type , nuint length , string filename , string contentType ) ;
414414
415+ // -(instancetype _Nonnull)initWithType:(NSString * _Nonnull)type length:(NSUInteger)length contentType:(NSString * _Nonnull)contentType itemCount:(NSNumber * _Nonnull)itemCount;
416+ [ Export ( "initWithType:length:contentType:itemCount:" ) ]
417+ NativeHandle Constructor ( string type , nuint length , string contentType , NSNumber itemCount ) ;
418+
415419 // @property (readonly, copy, nonatomic) NSString * _Nonnull type;
416420 [ Export ( "type" ) ]
417421 string Type { get ; }
@@ -427,6 +431,14 @@ interface SentryEnvelopeItemHeader : SentrySerializable
427431 // @property (readonly, copy, nonatomic) NSString * _Nullable contentType;
428432 [ NullAllowed , Export ( "contentType" ) ]
429433 string ContentType { get ; }
434+
435+ // @property (readonly, copy, nonatomic) NSNumber * _Nullable itemCount;
436+ [ NullAllowed , Export ( "itemCount" , ArgumentSemantic . Copy ) ]
437+ NSNumber ItemCount { get ; }
438+
439+ // @property (copy, nonatomic) NSString * _Nullable platform;
440+ [ NullAllowed , Export ( "platform" ) ]
441+ string Platform { get ; set ; }
430442}
431443
432444partial interface Constants
@@ -559,13 +571,6 @@ interface SentryEvent : SentrySerializable
559571 NativeHandle Constructor ( NSError error ) ;
560572}
561573
562- // @interface SentryEventDecodable : SentryEvent
563- [ BaseType ( typeof ( SentryEvent ) ) ]
564- [ Internal ]
565- interface SentryEventDecodable
566- {
567- }
568-
569574// @interface SentryException : NSObject <SentrySerializable>
570575[ BaseType ( typeof ( NSObject ) ) ]
571576[ DisableDefaultCtor ]
@@ -601,6 +606,20 @@ interface SentryException : SentrySerializable
601606 NativeHandle Constructor ( string value , string type ) ;
602607}
603608
609+ // @interface SentryFeedbackAPI : NSObject
610+ [ BaseType ( typeof ( NSObject ) ) ]
611+ [ Internal ]
612+ interface SentryFeedbackAPI
613+ {
614+ // -(void)showWidget __attribute__((availability(ios, introduced=13.0)));
615+ [ Export ( "showWidget" ) ]
616+ void ShowWidget ( ) ;
617+
618+ // -(void)hideWidget __attribute__((availability(ios, introduced=13.0)));
619+ [ Export ( "hideWidget" ) ]
620+ void HideWidget ( ) ;
621+ }
622+
604623// @interface SentryFrame : NSObject <SentrySerializable>
605624[ BaseType ( typeof ( NSObject ) ) ]
606625[ Internal ]
@@ -1024,6 +1043,23 @@ interface SentryHub
10241043 void Close ( ) ;
10251044}
10261045
1046+ // @protocol SentryIntegrationProtocol <NSObject>
1047+ [ Protocol ]
1048+ [ BaseType ( typeof ( NSObject ) ) ]
1049+ [ Internal ]
1050+ interface SentryIntegrationProtocol
1051+ {
1052+ // @required -(BOOL)installWithOptions:(SentryOptions * _Nonnull)options __attribute__((swift_name("install(with:)")));
1053+ [ Abstract ]
1054+ [ Export ( "installWithOptions:" ) ]
1055+ bool InstallWithOptions ( SentryOptions options ) ;
1056+
1057+ // @required -(void)uninstall;
1058+ [ Abstract ]
1059+ [ Export ( "uninstall" ) ]
1060+ void Uninstall ( ) ;
1061+ }
1062+
10271063// @interface SentryMeasurementUnit : NSObject <NSCopying>
10281064[ BaseType ( typeof ( NSObject ) ) ]
10291065[ DisableDefaultCtor ]
@@ -1522,6 +1558,10 @@ interface SentryOptions
15221558 [ Export ( "enableCoreDataTracing" ) ]
15231559 bool EnableCoreDataTracing { get ; set ; }
15241560
1561+ // @property (copy, nonatomic) SentryProfilingConfigurationBlock _Nullable configureProfiling;
1562+ [ NullAllowed , Export ( "configureProfiling" , ArgumentSemantic . Copy ) ]
1563+ SentryProfilingConfigurationBlock ConfigureProfiling { get ; set ; }
1564+
15251565 // @property (assign, nonatomic) BOOL enableAppLaunchProfiling;
15261566 [ Export ( "enableAppLaunchProfiling" ) ]
15271567 bool EnableAppLaunchProfiling { get ; set ; }
@@ -1605,11 +1645,19 @@ interface SentryOptions
16051645 [ Export ( "spotlightUrl" ) ]
16061646 string SpotlightUrl { get ; set ; }
16071647
1648+ // @property (readonly, nonatomic) NSObject * _Nonnull _swiftExperimentalOptions;
1649+ [ Export ( "_swiftExperimentalOptions" ) ]
1650+ NSObject _swiftExperimentalOptions { get ; }
1651+
16081652 // @property (copy, nonatomic) API_AVAILABLE(ios(13.0)) SentryUserFeedbackConfigurationBlock configureUserFeedback __attribute__((availability(ios, introduced=13.0)));
16091653 [ Export ( "configureUserFeedback" , ArgumentSemantic . Copy ) ]
16101654 SentryUserFeedbackConfigurationBlock ConfigureUserFeedback { get ; set ; }
16111655}
16121656
1657+ // typedef void (^SentryProfilingConfigurationBlock)(SentryProfileOptions * _Nonnull);
1658+ [ Internal ]
1659+ delegate void SentryProfilingConfigurationBlock ( SentryProfileOptions arg0 ) ;
1660+
16131661// @interface SentryReplayApi : NSObject
16141662[ BaseType ( typeof ( NSObject ) ) ]
16151663[ Internal ]
@@ -1817,6 +1865,11 @@ interface SentrySDK
18171865 [ Export ( "captureFeedback:" ) ]
18181866 void CaptureFeedback ( SentryFeedback feedback ) ;
18191867
1868+ // @property (readonly, nonatomic, class) API_AVAILABLE(ios(13.0)) SentryFeedbackAPI * feedback __attribute__((availability(ios, introduced=13.0)));
1869+ [ Static ]
1870+ [ Export ( "feedback" ) ]
1871+ SentryFeedbackAPI Feedback { get ; }
1872+
18201873 // +(void)addBreadcrumb:(SentryBreadcrumb * _Nonnull)crumb __attribute__((swift_name("addBreadcrumb(_:)")));
18211874 [ Static ]
18221875 [ Export ( "addBreadcrumb:" ) ]
@@ -2325,33 +2378,6 @@ interface SentryUser : SentrySerializable
23252378 nuint Hash { get ; }
23262379}
23272380
2328- // @interface SentryUserFeedback : NSObject <SentrySerializable>
2329- [ BaseType ( typeof ( NSObject ) ) ]
2330- [ DisableDefaultCtor ]
2331- [ Internal ]
2332- interface SentryUserFeedback : SentrySerializable
2333- {
2334- // -(instancetype _Nonnull)initWithEventId:(SentryId * _Nonnull)eventId;
2335- [ Export ( "initWithEventId:" ) ]
2336- NativeHandle Constructor ( SentryId eventId ) ;
2337-
2338- // @property (readonly, nonatomic, strong) SentryId * _Nonnull eventId;
2339- [ Export ( "eventId" , ArgumentSemantic . Strong ) ]
2340- SentryId EventId { get ; }
2341-
2342- // @property (copy, nonatomic) NSString * _Nonnull name;
2343- [ Export ( "name" ) ]
2344- string Name { get ; set ; }
2345-
2346- // @property (copy, nonatomic) NSString * _Nonnull email;
2347- [ Export ( "email" ) ]
2348- string Email { get ; set ; }
2349-
2350- // @property (copy, nonatomic) NSString * _Nonnull comments;
2351- [ Export ( "comments" ) ]
2352- string Comments { get ; set ; }
2353- }
2354-
23552381// @interface SentryScreenFrames : NSObject <NSCopying>
23562382[ BaseType ( typeof ( NSObject ) ) ]
23572383[ DisableDefaultCtor ]
@@ -2436,6 +2462,11 @@ interface PrivateSentrySDKOnly
24362462 [ Export ( "getExtraContext" ) ]
24372463 NSDictionary ExtraContext { get ; }
24382464
2465+ // +(void)setTrace:(SentryId * _Nonnull)traceId spanId:(SentrySpanId * _Nonnull)spanId;
2466+ [ Static ]
2467+ [ Export ( "setTrace:spanId:" ) ]
2468+ void SetTrace ( SentryId traceId , SentrySpanId spanId ) ;
2469+
24392470 // +(uint64_t)startProfilerForTrace:(SentryId * _Nonnull)traceId;
24402471 [ Static ]
24412472 [ Export ( "startProfilerForTrace:" ) ]
0 commit comments