AVAudioRecorder.PrepareToRecord 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.
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.