-
-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
1,111 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface SentryReplayOptions : NSObject | ||
|
||
/** | ||
* Indicates the percentage in which the replay for the session will be created. | ||
* @discussion Specifying @c 0 means never, @c 1.0 means always. | ||
* @note The value needs to be >= 0.0 and \<= 1.0. When setting a value out of range the SDK sets it | ||
* to the default. | ||
* @note The default is @c 0. | ||
*/ | ||
@property (nonatomic) float replaysSessionSampleRate; | ||
|
||
/** | ||
* Indicates the percentage in which a 30 seconds replay will be send with error events. | ||
* @discussion Specifying @c 0 means never, @c 1.0 means always. | ||
* @note The value needs to be >= 0.0 and \<= 1.0. When setting a value out of range the SDK sets it | ||
* to the default. | ||
* @note The default is @c 0. | ||
*/ | ||
@property (nonatomic) float replaysOnErrorSampleRate; | ||
|
||
/** | ||
* Inittialize the settings of session replay | ||
* | ||
* @param sessionSampleRate Indicates the percentage in which the replay for the session will be | ||
* created. | ||
* @param errorSampleRate Indicates the percentage in which a 30 seconds replay will be send with | ||
* error events. | ||
*/ | ||
- (instancetype)initWithReplaySessionSampleRate:(float)sessionSampleRate | ||
replaysOnErrorSampleRate:(float)errorSampleRate; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.