getImages abstract method

Future<GetImagesResult> getImages({
  1. List<String>? filterSourceNames,
  2. Map<String, dynamic>? extra,
})

Return a list of named images from a camera and metadata about the response.

const camera = new VIAM.CameraClient(machine, 'my_camera');
const images = await camera.getImages();

@example

final images = await camera.getImages(
  filterSourceNames: ['color'],
  extra: {},
);

@param filterSourceNames - A list of source names to filter the images by. If empty or undefined, all images will be returned. @param extra - Extra parameters to pass to the camera.

Implementation

Future<GetImagesResult> getImages({
  List<String>? filterSourceNames,
  Map<String, dynamic>? extra,
});