DeepArEventHandler class

In the callbacks, the application should avoid time-consuming tasks or call blocking APIs (such as SendMessage), otherwise, the SDK may not work properly.

Constructors

DeepArEventHandler({CameraReadyCallback? onCameraReady, VideoRecordingCallback? onVideoRecordingComplete, SnapPhotoCallback? onSnapPhotoCompleted, SnapPhotoCallback? onSwitchEffect})
Constructs a DeepArEventHandler

Properties

hashCode int
The hash code for this object.
no setterinherited
onCameraReady CameraReadyCallback?
The CameraReadyCallback typedef includes the following parameter: the bool isReady
getter/setter pair
onSnapPhotoCompleted SnapPhotoCallback?
The SnapPhotoCallback typedef includes the following parameter: the photo path
getter/setter pair
onSwitchEffect SnapPhotoCallback?
getter/setter pair
onVideoRecordingComplete VideoRecordingCallback?
The VideoRecordingCallback typedef includes the following parameter: the video path
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(String methodName, Map data) → void
toString() String
A string representation of this object.
inherited

Operators

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