OnInfoListener typedef

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

Called to indicate an info or a warning during recording with MediaRecorder.

what: the type of error that has occurred:

extra: an extra code, specific to the info type

Implementation

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