OnErrorListener typedef
- @Reference.new('android_media/media_recorder/OnErrorListener')
Called when an error occurs while recording with MediaRecorder.
what: the type of error that has occurred:
- MediaRecorder.errorUnknown
- MediaRecorder.errorServerDied
extra: an extra code, specific to the info type
Implementation
@Reference('android_media/media_recorder/OnErrorListener')
typedef OnErrorListener = void Function(int what, int extra);