public static interface MediaRecorder.OnErrorListener

android.media.MediaRecorder.OnErrorListener



Interface definition for a callback to be invoked when an error occurs while recording.

Summary

Public methods

abstract void onError(MediaRecorder mr, int what, int extra)

Called when an error occurs while recording.

Public methods

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.