#if __has_include() # import #else # import "SentryBaseIntegration.h" #endif #if __has_include() # import #else # import "SentryDefines.h" #endif #import NS_ASSUME_NONNULL_BEGIN #if SENTRY_TARGET_REPLAY_SUPPORTED @protocol SentryReplayBreadcrumbConverter; @protocol SentryViewScreenshotProvider; @interface SentrySessionReplayIntegration : SentryBaseIntegration - (instancetype)initForManualUse:(nonnull SentryOptions *)options; /** * Captures Replay. Used by the Hybrid SDKs. */ - (BOOL)captureReplay; /** * Configure session replay with different breadcrumb converter * and screeshot provider. Used by the Hybrid SDKs. * If can pass nil to avoid changing the property. */ - (void)configureReplayWith:(nullable id)breadcrumbConverter screenshotProvider:(nullable id)screenshotProvider; - (void)pause; - (void)resume; - (void)stop; - (void)start; @end #endif // SENTRY_TARGET_REPLAY_SUPPORTED NS_ASSUME_NONNULL_END