addOnCameraEventListner method

  1. @override
void addOnCameraEventListner(
  1. MPCameraEventListener listener
)
override

Implementation

@override
void addOnCameraEventListner(MPCameraEventListener listener) {
  if (_cameraEventListeners.isEmpty) {
    listenerChannel
        .invokeMethod("MPL_cameraEventListener", {"setupListener": true});
  }
  _cameraEventListeners.add(listener);
}