MediaRecorder.IOnInfoListener.OnInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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.