MediaRecorder.IOnInfoListener.OnInfo Method

Definition

Called to indicate an info or a warning during recording.

[Android.Runtime.Register("onInfo", "(Landroid/media/MediaRecorder;II)V", "GetOnInfo_Landroid_media_MediaRecorder_IIHandler:Android.Media.MediaRecorder/IOnInfoListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnInfo (Android.Media.MediaRecorder? mr, Android.Media.MediaRecorderInfo what, int extra);
[<Android.Runtime.Register("onInfo", "(Landroid/media/MediaRecorder;II)V", "GetOnInfo_Landroid_media_MediaRecorder_IIHandler:Android.Media.MediaRecorder/IOnInfoListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnInfo : Android.Media.MediaRecorder * Android.Media.MediaRecorderInfo * int -> unit

Parameters

mr
MediaRecorder

the MediaRecorder the info pertains to

what
MediaRecorderInfo

the type of info or warning that has occurred <ul> <li>#MEDIA_RECORDER_INFO_UNKNOWN<li>#MEDIA_RECORDER_INFO_MAX_DURATION_REACHED<li>#MEDIA_RECORDER_INFO_MAX_FILESIZE_REACHED</ul>

extra
Int32

an extra code, specific to the info type

Attributes

Remarks

Called to indicate an info or a warning during recording.

Java documentation for android.media.MediaRecorder.OnInfoListener.onInfo(android.media.MediaRecorder, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to