ErrorCallback typedef Null safety

  1. @Reference('android_hardware/camera/ErrorCallback')
ErrorCallback = void Function(int error)

Callback for camera error notification.

See: Camera.errorUnknown Camera.errorServerDied Camera.errorEvicted

Implementation

@Reference('android_hardware/camera/ErrorCallback')
typedef ErrorCallback = void Function(int error);