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
9 changed files
with
407 additions
and
232 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
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,32 @@ | ||
#import "SentryDefines.h" | ||
#import <Foundation/Foundation.h> | ||
|
||
#if SENTRY_HAS_UIKIT | ||
# import <UIKit/UIKit.h> | ||
|
||
@class SentryReplayOptions; | ||
@class SentryEvent; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface SentrySessionReplay : NSObject | ||
|
||
- (instancetype)initWithSettings:(SentryReplayOptions *)replaySettings; | ||
|
||
/** | ||
* Start recording the session using rootView as image source. | ||
* If full is @c YES, we transmit the entire session to sentry. | ||
*/ | ||
- (void)start:(UIView *)rootView fullSession:(BOOL)full; | ||
|
||
/** | ||
* Stop recording the session replay | ||
*/ | ||
- (void)stop; | ||
|
||
- (void)replayForEvent:(SentryEvent *)event; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END | ||
#endif // SENTRY_HAS_UIKIT |
Oops, something went wrong.