OperationResult enum

An enum that indicates the result of each operation.

Inheritance
Available extensions

Values

unknown → const OperationResult

An unknown or generic failure occurred.

const OperationResult('UNKNOWN')
success → const OperationResult

The operation succeeded.

const OperationResult('SUCCESS')
unsupported → const OperationResult

The operation is not supported.

const OperationResult('UNSUPPORTED')
cancelled → const OperationResult

The operation was cancelled.

const OperationResult('CANCELLED')
deviceBusy → const OperationResult

The device is busy.

const OperationResult('DEVICE_BUSY')
invalid → const OperationResult

Either the data or an argument passed to the method is not valid.

const OperationResult('INVALID')
wrongType → const OperationResult

The supplied value is the wrong data type for the underlying option.

const OperationResult('WRONG_TYPE')
eof → const OperationResult

No more data is available.

const OperationResult('EOF')
adfJammed → const OperationResult

The document feeder is jammed.

const OperationResult('ADF_JAMMED')
adfEmpty → const OperationResult

The document feeder is empty.

const OperationResult('ADF_EMPTY')
coverOpen → const OperationResult

The flatbed cover is open.

const OperationResult('COVER_OPEN')
ioError → const OperationResult

An error occurred while communicating with the device.

const OperationResult('IO_ERROR')
accessDenied → const OperationResult

The device requires authentication.

const OperationResult('ACCESS_DENIED')
noMemory → const OperationResult

Not enough memory is available on the Chromebook to complete the operation.

const OperationResult('NO_MEMORY')
unreachable → const OperationResult

The device is not reachable.

const OperationResult('UNREACHABLE')
missing → const OperationResult

The device is disconnected.

const OperationResult('MISSING')
internalError → const OperationResult

An error has occurred somewhere other than the calling application.

const OperationResult('INTERNAL_ERROR')

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
toJS → JSString
no setter
value → String
final

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

Static Methods

fromJS(JSString value) → OperationResult

Constants

values → const List<OperationResult>
A constant List of the values in this enum, in order of their declaration.