Error = 0, Warning, FocusPressed, FocusReleased,
ShutterPressed, ShutterReleased, N900LensClosed = 10000, N900LensOpened,
N900SlideOpened, N900SlideClosed, F2LensRemoved = 20000, F2LensInstalled,
The list of builtin event types.More...
Unknown = 0, InternalError, DriverError, ImageTargetLocked,
ResolutionMismatch, OutOfMemory, FrameLimitHit, LensHistoryError,
FlashHistoryError, DemosaicError, ImageLockError, BadCast,
FileLoadError, FileLoadWarning, FileSaveError, FileSaveWarning,
SensorStoppedError, ParseError, FrameDataError, OutOfRange
The list of builtin error and warning codes.More...
|creator of this Event |
|type of this Event |
|data associated with this Event |
|Time this Event occured. |
|A human-readable description of the event. |
An Event marks a change in device state or an error condition.
Retrieve events from the system using getNextEvent.
The list of builtin event types.
Builtin FCam events use positive integers. They are guaranteed not to have collisions and should all be listed here. Custom events should use negative integers, and may collide with other custom events (so you should check the creator and the type).
An error occurred.
A warning occurred.
The focus button was pressed (typically the shutter button was half-depressed).
The focus button was released.
The shutter button was pressed.
The shutter button was released.
The lens cover on the N900 was closed.
The lens cover on the N900 was opened.
The keyboard on the N900 was slid open.
The keyboard on the N900 was slid closed.
The lens on the F2 was removed.
A new lens was inserted in the F2.
The lens on the F2 was manually zoomed.
The lens on the F2 was manually focused.
The list of builtin error and warning codes.
Builtin FCam warning and error codes use positive integers. Custom events should use negative integers.
Should not be used.
Indicates the error event is uninitialized.
Indicates a probable bug inside FCam.
Inform the developers.
Something unexpected happened while communicating with the FCam drivers.
FCam was requested to place image data in an image that was locked.
FCam was requested to place image data in a target of the wrong size.
A memory allocation failed inside FCam.
Too many frames are waiting on the frame queue.
Call getFrame more frequently.
The state of the lens was requested for a time too far in the past or the future.
The state of the flash was requested for a time too far in the past or the future.
Could not demosaic this image.
A TagValue was cast to a mismatched type.
A file could not be read in succesfully.
A file isn't quite as expected.
A file couldn't be written.
A file couldn't be saved quite as expected.
getFrame called before calling capture or stream
Could not read a TagValue from a string.
Expected frame data (tags, image data) was not available.
An argument was outside the valid or accurate range of inputs.