EyeTrackingPlatform class abstract
Platform interface for eye tracking functionality.
This abstract class defines the interface that platform-specific implementations must follow to provide eye tracking capabilities.
- Inheritance
-
- Object
- PlatformInterface
- EyeTrackingPlatform
- Implementers
Constructors
- EyeTrackingPlatform.new()
- Constructs a EyeTrackingPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCalibrationPoint(
CalibrationPoint point) → Future< bool> -
clearCalibration(
) → Future< bool> -
dispose(
) → Future< bool> -
enableBackgroundTracking(
bool enable) → Future< bool> -
finishCalibration(
) → Future< bool> -
getCalibrationAccuracy(
) → Future< double> -
getCapabilities(
) → Future< Map< String, dynamic> > -
getEyeStateStream(
) → Stream< EyeState> -
getFaceDetectionStream(
) → Stream< List< FaceDetection> > -
getGazeStream(
) → Stream< GazeData> -
getHeadPoseStream(
) → Stream< HeadPose> -
getPlatformVersion(
) → Future< String?> -
getState(
) → Future< EyeTrackingState> -
hasCameraPermission(
) → Future< bool> -
initialize(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseTracking(
) → Future< bool> -
requestCameraPermission(
) → Future< bool> -
resumeTracking(
) → Future< bool> -
setAccuracyMode(
String mode) → Future< bool> -
setTrackingFrequency(
int fps) → Future< bool> -
startCalibration(
List< CalibrationPoint> points) → Future<bool> -
startTracking(
) → Future< bool> -
stopTracking(
) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ EyeTrackingPlatform
-
The default instance of EyeTrackingPlatform to use.
getter/setter pair