DeadClickOptions
public struct DeadClickOptions
Configuration options for dead click detection.
Dead clicks are detected when a user taps on an interactive element but no visible UI change occurs, indicating a broken or unresponsive element.
Warning
Experimental (beta). Autocapture may contain issues, and its API and the properties it captures may change in a future release before general availability. Pin your SDK version if you build reports on autocaptured events.-
Whether dead click detection is enabled. Defaults to
true.Declaration
Swift
public let enabled: Bool -
Time window in milliseconds to wait for UI response after a click. If no UI change is detected within this window, a dead click is recorded. Defaults to
500(0.5 seconds).Clamped to a minimum of
1: a non-positive window is converted to an unsigned nanosecond count when the check is scheduled, which traps on a negative value, and a zero window would check before the UI has any chance to respond.Declaration
Swift
public let timeWindowMs: Int -
Out-of-range values are clamped rather than rejected, matching the Android SDK.
Declaration
Swift
public init( enabled: Bool = true, timeWindowMs: Int = 500 )
View on GitHub