PostHogRageClickConfig class
Configuration for rage-click autocapture on iOS and Mac Catalyst.
Assign an instance to PostHogConfig.rageClickConfig before calling
Posthog().setup(config). Other platforms ignore this configuration.
Constructors
- PostHogRageClickConfig()
- Creates a rage-click configuration using the native defaults.
Properties
- enabled ↔ bool
-
Whether rapid repeated taps are captured as
$rageclickevents.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- minimumTapCount ↔ int
-
Number of consecutive taps required to capture a rage click.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thresholdPoints ↔ double
-
Maximum Manhattan distance, in logical points, between consecutive taps.
getter/setter pair
- timeoutInterval ↔ Duration
-
Maximum time between consecutive taps in the same sequence.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object> - Converts this rage-click configuration to a platform-channel map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited