CameraCallbackImpl constructor

CameraCallbackImpl({
  1. required void onMoveFinished(
    1. bool completed
    ),
})

Implementation

CameraCallbackImpl({required void Function(bool completed) onMoveFinished}):
  _handle = _navigine_sdk_flutter_CameraCallback_CreateProxy(
    Pointer.fromFunction<Int64 Function(Pointer<Void>, Uint8)>(_navigine_sdk_flutter_CameraCallback_call_SetStatic, __lib.unknownError)),
  _onMoveFinished = onMoveFinished {
  _pointerToListener[_handle] = this;
  _navigine_sdk_flutter_CameraCallback_SetPorts(_handle, __lib.createPortWithCallback(_destructor), __lib.createExecutePort());
}