added in API level 3

MediaRecorder.OnInfoListener

public static interface MediaRecorder.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 void onInfo(MediaRecorder mr, int what, int extra)

Called to indicate an info or a warning during recording.

Public methods

onInfo

added in API level 3
public abstract void onInfo (MediaRecorder mr, 
                int what, 
                int extra)

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