LivenessConfig class
Constructors
-
LivenessConfig({bool copyright = true, bool cameraSwitchEnabled = false, bool closeButtonEnabled = true, bool torchButtonEnabled = true, bool vibrateOnSteps = true, int? cameraPositionAndroid, CameraPosition cameraPositionIOS = CameraPosition.FRONT, List<
ScreenOrientation> screenOrientation = const [ScreenOrientation.PORTRAIT], bool locationTrackingEnabled = true, int attemptsCount = 0, RecordingProcess recordingProcess = RecordingProcess.ASYNCHRONOUS_UPLOAD, LivenessType livenessType = LivenessType.ACTIVE, String? tag, List<LivenessSkipStep> skipStep = const [], dynamic metadata})
Properties
- attemptsCount ↔ int
-
getter/setter pair
- cameraPositionAndroid ↔ int?
-
Android only.
getter/setter pair
- cameraPositionIOS ↔ CameraPosition
-
IOS only.
getter/setter pair
- cameraSwitchEnabled ↔ bool
-
getter/setter pair
- closeButtonEnabled ↔ bool
-
getter/setter pair
- copyright ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- livenessType ↔ LivenessType
-
getter/setter pair
- locationTrackingEnabled ↔ bool
-
getter/setter pair
- metadata ↔ dynamic
-
getter/setter pair
- recordingProcess ↔ RecordingProcess
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
screenOrientation
↔ List<
ScreenOrientation> -
Android only.
getter/setter pair
-
skipStep
↔ List<
LivenessSkipStep> -
getter/setter pair
- tag ↔ String?
-
getter/setter pair
- torchButtonEnabled ↔ bool
-
getter/setter pair
- vibrateOnSteps ↔ bool
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
dynamic jsonObject) → LivenessConfig?