CameraEvent class Null safety
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
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
use a specific class instead:
class NewEvent extend CameraEvent when creating your own events.
See below for examples:
These events are more semantic and more pleasant to use than raw generics.
They can be (and in fact, are) filtered by the
- CameraEvent(int cameraId)
Build a Camera Event, that relates a
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.