AVAudioRecorder.RecordAt 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.
Overloads
RecordAt(Double) |
Begins recording at a specific time. |
RecordAt(Double, Double) |
Begins recording at a specific time, with a given duration. |
RecordAt(Double)
Begins recording at a specific time.
[Foundation.Export("recordAtTime:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual bool RecordAt (double time);
abstract member RecordAt : double -> bool
override this.RecordAt : double -> bool
Parameters
- time
- Double
A value greater than or equal to currentTime. Specifies a time in seconds.
Returns
- Attributes
Remarks
Begins recording at a specific time. Can be used for exactly periodic recordings or recordings that occur with precise offsets to each other.
Applies to
RecordAt(Double, Double)
Begins recording at a specific time, with a given duration.
[Foundation.Export("recordAtTime:forDuration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual bool RecordAt (double time, double duration);
abstract member RecordAt : double * double -> bool
override this.RecordAt : double * double -> bool
Parameters
- time
- Double
A value greater than or equal to currentTime. Specifies a time in seconds.
- duration
- Double
Duration, in seconds, of the recording.
Returns
- Attributes
Remarks
The recording will automatically stop after duration
seconds.