setCaptureNativeScreens method

Future<void> setCaptureNativeScreens(
  1. bool enabled
)
inherited

Applies a runtime PostHogSessionReplayConfig.captureNativeScreens change by starting or stopping the native occlusion detector.

A no-op by default: only the mobile platforms have a detector, and web must not throw when the config setter fires.

Implementation

Future<void> setCaptureNativeScreens(bool enabled) async {}