CameraEvent class abstract
Generic Event coming from the native side of Camera, related to a specific camera module.
All CameraEvents contain the cameraId
that originated the event. This
should never be null
.
This class is used as a base class for all the events that might be triggered from a Camera, but it is never used directly as an event type.
Do NOT instantiate new events like CameraEvent(cameraId)
directly,
use a specific class instead:
Do class NewEvent extend CameraEvent
when creating your own events.
See below for examples: CameraClosingEvent
, CameraErrorEvent
...
These events are more semantic and more pleasant to use than raw generics.
They can be (and in fact, are) filtered by the instanceof
-operator.
- Implementers
- Annotations
Constructors
- CameraEvent(int cameraId)
-
Build a Camera Event, that relates a
cameraId
.const
Properties
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.
override