Android.Media.MediaRecorder.Prepare Method
Prepares the recorder to begin capturing and encoding data.

Syntax

[Android.Runtime.Register("prepare", "()V", "GetPrepareHandler")]
public virtual void Prepare ()

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif it is called after start() or before setOutputFormat().
Java.IO.IOExceptionif prepare fails otherwise.

Remarks

Prepares the recorder to begin capturing and encoding data. This method must be called after setting up the desired audio and video sources, encoders, file format, etc., but before start().

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1