Skip to content

Commit

Permalink
updated ApiDefinitions
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes committed Sep 27, 2023
1 parent 9326001 commit 2615290
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/Sentry.Bindings.Cocoa/ApiDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2153,13 +2153,17 @@ interface SentryTraceContext : SentrySerializable
[NullAllowed, Export ("userSegment")]
string UserSegment { get; }

// @property (nonatomic, strong) NSString * _Nullable sampleRate;
[NullAllowed, Export ("sampleRate", ArgumentSemantic.Strong)]
string SampleRate { get; set; }
// @property (readonly, nonatomic) NSString * _Nullable sampleRate;
[NullAllowed, Export ("sampleRate")]
string SampleRate { get; }

// @property (readonly, nonatomic) NSString * _Nullable sampled;
[NullAllowed, Export ("sampled")]
string Sampled { get; }

// -(instancetype _Nonnull)initWithTraceId:(SentryId * _Nonnull)traceId publicKey:(NSString * _Nonnull)publicKey releaseName:(NSString * _Nullable)releaseName environment:(NSString * _Nullable)environment transaction:(NSString * _Nullable)transaction userSegment:(NSString * _Nullable)userSegment sampleRate:(NSString * _Nullable)sampleRate;
[Export ("initWithTraceId:publicKey:releaseName:environment:transaction:userSegment:sampleRate:")]
NativeHandle Constructor (SentryId traceId, string publicKey, [NullAllowed] string releaseName, [NullAllowed] string environment, [NullAllowed] string transaction, [NullAllowed] string userSegment, [NullAllowed] string sampleRate);
// -(instancetype _Nonnull)initWithTraceId:(SentryId * _Nonnull)traceId publicKey:(NSString * _Nonnull)publicKey releaseName:(NSString * _Nullable)releaseName environment:(NSString * _Nullable)environment transaction:(NSString * _Nullable)transaction userSegment:(NSString * _Nullable)userSegment sampleRate:(NSString * _Nullable)sampleRate sampled:(NSString * _Nullable)sampled;
[Export ("initWithTraceId:publicKey:releaseName:environment:transaction:userSegment:sampleRate:sampled:")]
NativeHandle Constructor (SentryId traceId, string publicKey, [NullAllowed] string releaseName, [NullAllowed] string environment, [NullAllowed] string transaction, [NullAllowed] string userSegment, [NullAllowed] string sampleRate, [NullAllowed] string sampled);

// -(instancetype _Nullable)initWithScope:(SentryScope * _Nonnull)scope options:(SentryOptions * _Nonnull)options;
[Export ("initWithScope:options:")]
Expand Down

0 comments on commit 2615290

Please sign in to comment.