Skip to content

Commit 2e4286f

Browse files
committed
Remove more stuff
1 parent 7870f84 commit 2e4286f

File tree

2 files changed

+0
-108
lines changed

2 files changed

+0
-108
lines changed

scripts/post-process-cocoa-bindings.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,13 @@ internal static class Whitelist
7575
"SentryRedactOptions",
7676
"SentryReplayApi",
7777
"SentryReplayBreadcrumbConverter",
78-
"SentryReplayEvent",
7978
"SentryReplayOptions",
8079
"SentryRequest",
8180
"SentryRRWebEvent",
8281
"SentrySamplingContext",
8382
"SentryScope",
8483
"SentryScreenFrames",
8584
"SentrySDK",
86-
"SentrySdkInfo",
87-
"SentrySDKSettings",
8885
"SentrySerializable",
8986
"SentrySession",
9087
"SentrySpan",

src/Sentry.Bindings.Cocoa/ApiDefinitions.cs

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -2361,34 +2361,6 @@ interface SentryReplayBreadcrumbConverter
23612361
SentryRRWebEvent ConvertFrom (SentryBreadcrumb breadcrumb);
23622362
}
23632363

2364-
// @interface SentryReplayEvent : SentryEvent
2365-
[BaseType (typeof(SentryEvent), Name = "_TtC6Sentry17SentryReplayEvent")]
2366-
[DisableDefaultCtor]
2367-
[Internal]
2368-
interface SentryReplayEvent
2369-
{
2370-
// @property (readonly, copy, nonatomic) NSDate * _Nonnull replayStartTimestamp;
2371-
[Export ("replayStartTimestamp", ArgumentSemantic.Copy)]
2372-
NSDate ReplayStartTimestamp { get; }
2373-
2374-
// @property (readonly, nonatomic) enum SentryReplayType replayType;
2375-
[Export ("replayType")]
2376-
SentryReplayType ReplayType { get; }
2377-
2378-
// @property (readonly, nonatomic) NSInteger segmentId;
2379-
[Export ("segmentId")]
2380-
nint SegmentId { get; }
2381-
2382-
// @property (copy, nonatomic) NSArray<NSString *> * _Nullable urls;
2383-
[NullAllowed, Export ("urls", ArgumentSemantic.Copy)]
2384-
string[] Urls { get; set; }
2385-
2386-
// -(instancetype _Nonnull)initWithEventId:(SentryId * _Nonnull)eventId replayStartTimestamp:(NSDate * _Nonnull)replayStartTimestamp replayType:(enum SentryReplayType)replayType segmentId:(NSInteger)segmentId __attribute__((objc_designated_initializer));
2387-
[Export ("initWithEventId:replayStartTimestamp:replayType:segmentId:")]
2388-
[DesignatedInitializer]
2389-
NativeHandle Constructor (SentryId eventId, NSDate replayStartTimestamp, SentryReplayType replayType, nint segmentId);
2390-
}
2391-
23922364
// @interface SentryReplayOptions : NSObject <SentryRedactOptions>
23932365
[BaseType (typeof(NSObject), Name = "_TtC6Sentry19SentryReplayOptions")]
23942366
[Internal]
@@ -2688,83 +2660,6 @@ interface SentrySDK
26882660
void ClearLogger ();
26892661
}
26902662

2691-
// @interface SentrySDKSettings : NSObject
2692-
[BaseType (typeof(NSObject), Name = "_TtC6Sentry17SentrySDKSettings")]
2693-
[Internal]
2694-
interface SentrySDKSettings
2695-
{
2696-
// -(instancetype _Nonnull)initWithOptions:(SentryOptions * _Nullable)options __attribute__((objc_designated_initializer));
2697-
[Export ("initWithOptions:")]
2698-
[DesignatedInitializer]
2699-
NativeHandle Constructor ([NullAllowed] SentryOptions options);
2700-
2701-
// -(instancetype _Nonnull)initWithDict:(NSDictionary * _Nonnull)dict __attribute__((objc_designated_initializer));
2702-
[Export ("initWithDict:")]
2703-
[DesignatedInitializer]
2704-
NativeHandle Constructor (NSDictionary dict);
2705-
2706-
// @property (nonatomic) BOOL autoInferIP;
2707-
[Export ("autoInferIP")]
2708-
bool AutoInferIP { get; set; }
2709-
2710-
// -(NSDictionary * _Nonnull)serialize __attribute__((warn_unused_result("")));
2711-
[Export ("serialize")]
2712-
NSDictionary Serialize();
2713-
}
2714-
2715-
// @interface SentrySdkInfo : NSObject <SentrySerializable>
2716-
[BaseType (typeof(NSObject), Name = "_TtC6Sentry13SentrySdkInfo")]
2717-
[DisableDefaultCtor]
2718-
[Internal]
2719-
interface SentrySdkInfo : SentrySerializable
2720-
{
2721-
// +(instancetype _Nonnull)global __attribute__((warn_unused_result(""))) __attribute__((deprecated("This is only marked as deprecated because enableAppLaunchProfiling is marked as deprecated. Once that is removed this can be removed.")));
2722-
[Static]
2723-
[Export ("global")]
2724-
SentrySdkInfo Global ();
2725-
2726-
// @property (readonly, copy, nonatomic) NSString * _Nonnull name;
2727-
[Export ("name")]
2728-
string Name { get; }
2729-
2730-
// @property (readonly, copy, nonatomic) NSString * _Nonnull version;
2731-
[Export ("version")]
2732-
string Version { get; }
2733-
2734-
// @property (readonly, copy, nonatomic) NSArray<NSString *> * _Nonnull integrations;
2735-
[Export ("integrations", ArgumentSemantic.Copy)]
2736-
string[] Integrations { get; }
2737-
2738-
// @property (readonly, copy, nonatomic) NSArray<NSString *> * _Nonnull features;
2739-
[Export ("features", ArgumentSemantic.Copy)]
2740-
string[] Features { get; }
2741-
2742-
// @property (readonly, copy, nonatomic) NSArray<NSDictionary<NSString *,NSString *> *> * _Nonnull packages;
2743-
[Export ("packages", ArgumentSemantic.Copy)]
2744-
NSDictionary<NSString, NSString>[] Packages { get; }
2745-
2746-
// @property (readonly, nonatomic, strong) SentrySDKSettings * _Nonnull settings;
2747-
[Export ("settings", ArgumentSemantic.Strong)]
2748-
SentrySDKSettings Settings { get; }
2749-
2750-
// -(instancetype _Nonnull)initWithOptions:(SentryOptions * _Nullable)options __attribute__((deprecated("This is only marked as deprecated because enableAppLaunchProfiling is marked as deprecated. Once that is removed this can be removed.")));
2751-
[Export ("initWithOptions:")]
2752-
NativeHandle Constructor ([NullAllowed] SentryOptions options);
2753-
2754-
// -(instancetype _Nonnull)initWithName:(NSString * _Nullable)name version:(NSString * _Nullable)version integrations:(NSArray<NSString *> * _Nullable)integrations features:(NSArray<NSString *> * _Nullable)features packages:(NSArray<NSDictionary<NSString *,NSString *> *> * _Nullable)packages settings:(SentrySDKSettings * _Nonnull)settings __attribute__((objc_designated_initializer));
2755-
[Export ("initWithName:version:integrations:features:packages:settings:")]
2756-
[DesignatedInitializer]
2757-
NativeHandle Constructor ([NullAllowed] string name, [NullAllowed] string version, [NullAllowed] string[] integrations, [NullAllowed] string[] features, [NullAllowed] NSDictionary<NSString, NSString>[] packages, SentrySDKSettings settings);
2758-
2759-
// -(instancetype _Nonnull)initWithDict:(NSDictionary * _Nonnull)dict;
2760-
[Export ("initWithDict:")]
2761-
NativeHandle Constructor (NSDictionary dict);
2762-
2763-
// -(NSDictionary<NSString *,id> * _Nonnull)serialize __attribute__((warn_unused_result("")));
2764-
[Export ("serialize")]
2765-
NSDictionary<NSString, NSObject> Serialize();
2766-
}
2767-
27682663
// @interface SentrySession : NSObject <NSCopying>
27692664
[BaseType (typeof(NSObject), Name = "_TtC6Sentry13SentrySession")]
27702665
[DisableDefaultCtor]

0 commit comments

Comments
 (0)