DataCallback typedef

  1. @Reference('android_hardware/camera/DataCallback')
DataCallback = void Function(Uint8List? data)

Callback when receiving an image or preview byte array.

Implementation

@Reference('android_hardware/camera/DataCallback')
typedef DataCallback = void Function(Uint8List? data);