FaceDetectorMode enum

Preset sensitivity profiles for face detection.

A mode is a cross-platform token, not a baked set of numbers. The native analyzer backend resolves the token to its own engine-calibrated thresholds (the values differ per detection engine and are tuned for equivalent real-world capture behaviour rather than numeric identity). Partners who need fine-grained control set individual FaceDetectorConfig fields, which the native side overlays on top of the resolved preset.

Inheritance
Available extensions

Values

performance → const FaceDetectorMode

Tighter thresholds — fastest rejection of low-quality frames.

standard → const FaceDetectorMode

Balanced defaults — recommended starting point. (Named standard because default is a reserved word in Dart; it serialises to the "default" wire token shared with the other SDKs.)

low → const FaceDetectorMode

Relaxed thresholds — better for challenging lighting or smaller devices.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireToken → String
Stable cross-platform token sent across the bridge. The native backend resolves this to its own preset config.
no setter

Methods

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.
inherited

Constants

values → const List<FaceDetectorMode>
A constant List of the values in this enum, in order of their declaration.