DeepArConfig class

The state of a CameraDeepArController.

Constructors

DeepArConfig({required String androidKey, required String ioskey, bool isInitialized = false, bool? isRecording = false, DisplayMode displayMode = DisplayMode.camera, CameraMode cameraMode = CameraMode.mask, CameraDirection cameraDirection = CameraDirection.front, RecordingMode recordingMode = RecordingMode.photo, int? viewId})
Creates a new deepAr camera controller state.
const

Properties

androidKey String
This is used to set the android key for deepar
final
cameraDirection CameraDirection
This is the current camera direction for deepar
final
cameraMode CameraMode
This is the current camera mode for deepar
final
displayMode DisplayMode
This is the current display mode for deepar
final
hashCode int
The hash code for this object.
no setterinherited
ioskey String
This is used to set the ios key for deepar
final
isInitialized bool
True after CameraDeepArController.initialize has completed successfully.
final
isRecording bool?
final
recordingMode RecordingMode
This is the current video recording mode for deepar
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewId int?
Value of the view is set after CameraDeepArController.initialize has completed successfully.
final

Methods

copyWith({String? androidKey, String? ioskey, DisplayMode? displayMode, CameraMode? cameraMode, CameraDirection? cameraDirection, RecordingMode? recordingMode, bool? isInitialized, bool? isRecording, int? viewId}) DeepArConfig
Creates a modified copy of the object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited