OnErrorListener typedef

  1. @Reference('android_media/media_recorder/OnErrorListener')
OnErrorListener = void Function(int what, int extra)

Called when an error occurs while recording with MediaRecorder.

what: the type of error that has occurred:

Implementation

@Reference('android_media/media_recorder/OnErrorListener')
typedef OnErrorListener = void Function(int what, int extra);