DetectionStatus enum

The outcome status of a GR camera detection attempt.

This provides more granular information than just GrDetectionResult.isGrCamera, allowing developers to distinguish between different failure modes.

Inheritance
Available extensions

Values

detected → const DetectionStatus

Successfully detected a GR camera.

notDetected → const DetectionStatus

Detection completed successfully, but no GR camera was found.

This means the image/filename was valid, but it's not from a GR camera.

exifError → const DetectionStatus

Detection completed, but EXIF parsing encountered an error.

The result may have fallen back to filename detection. Check GrDetectionResult.error for details.

noExifData → const DetectionStatus

Detection completed, but no EXIF data was found in the image.

The result may have fallen back to filename detection.

invalidInput → const DetectionStatus

Detection could not complete due to invalid input.

The image bytes were empty, corrupted, or otherwise invalid.

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

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<DetectionStatus>
A constant List of the values in this enum, in order of their declaration.