MediaRecorder.IOnInfoListener.OnInfo(MediaRecorder, MediaRecorderInfo, Int32) 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 when an error occurs while 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 that encountered the error
- extra
- Int32
an extra code, specific to the error type
- Attributes
Remarks
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.