UNPKG

@amplitude/session-replay-react-native

Version:
29 lines 850 B
import { LogLevel } from '@amplitude/analytics-types'; /** * Configuration for Session Replay React Native Plugin */ export interface SessionReplayPluginConfig { /** * Sample rate for session replay (0.0 to 1.0) * Determines what percentage of sessions will be recorded * @default 0 */ sampleRate?: number; /** * Whether to enable remote configuration * @default true */ enableRemoteConfig?: boolean; /** * Log level for the SDK * @default LogLevel.Warn */ logLevel?: LogLevel; /** * Whether to automatically start recording when the plugin is added * @default true */ autoStart?: boolean; } export declare const getDefaultSessionReplayPluginConfig: () => Required<SessionReplayPluginConfig>; //# sourceMappingURL=plugin-session-replay-config.d.ts.map