FlutterCockpitRecorderConfig class final
Configuration for the in-app interaction recorder.
Recording is a development capability: enabled defaults to false, and
requesting it in a release build is a configuration error (see
assertFlutterCockpitRecorderBuildMode).
Constructors
- FlutterCockpitRecorderConfig({bool enabled = false, CockpitRecorderHostMode host = CockpitRecorderHostMode.floatingBall, CockpitInteractionCaptureDefaults defaults = const CockpitInteractionCaptureDefaults()})
-
Creates a recorder configuration.
const
Properties
- defaults → CockpitInteractionCaptureDefaults
-
Classification and settle thresholds for the capture layer.
final
- enabled → bool
-
Whether the runtime mounts the interaction recorder and its capture
layer.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- host → CockpitRecorderHostMode
-
Presentation mode of the recorder host.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? enabled, CockpitRecorderHostMode? host, CockpitInteractionCaptureDefaults? defaults}) → FlutterCockpitRecorderConfig -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override