public static interface Recorder.IRecorderListener
void onError(int what,
int extra)
what - Indicates the error type. For example, the maximum recording duration, or the maximum file size
has been reached.extra - Indicates additional information.void onMessage(int what,
int extra)
what - Indicates additional information, for example, about the start and end of the recording.extra - Indicates additional information.