Added in API level 3

OnInfoListener


interface OnInfoListener
android.media.MediaRecorder.OnInfoListener

Interface definition of a callback to be invoked to communicate some info and/or warning about the recording.

Summary

Public methods
abstract Unit
onInfo(mr: MediaRecorder!, what: Int, extra: Int)

Called to indicate an info or a warning during recording.

Public methods

onInfo

Added in API level 3
abstract fun onInfo(
    mr: MediaRecorder!,
    what: Int,
    extra: Int
): Unit

Called to indicate an info or a warning during recording.

Parameters
mr MediaRecorder!: the MediaRecorder the info pertains to
what Int: the type of info or warning that has occurred
extra Int: an extra code, specific to the info type