Edit

Share via


AVAudioRecorder.PrepareToRecord Method

Definition

Prepares the recorder for efficient startup.

[Foundation.Export("prepareToRecord")]
public virtual bool PrepareToRecord ();
abstract member PrepareToRecord : unit -> bool
override this.PrepareToRecord : unit -> bool

Returns

Attributes

Remarks

This method creates or erases a file for recording.

The Record() method will call this method if ncessary, but application developers may choose to explicitly call it in order to minimize startup lag.

Applies to