MediaRecorder.Prepare MediaRecorder.Prepare Method


Prepares the recorder to begin capturing and encoding data.

[Android.Runtime.Register("prepare", "()V", "GetPrepareHandler")]
public virtual void Prepare ();
abstract member Prepare : unit -> unit
override this.Prepare : unit -> unit


if it is called after start() or before setOutputFormat().

if prepare fails otherwise.


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