Edit

Share via


Recorder.Pause Method

Definition

Pauses the recorder.

public:
 void Pause();
public void Pause ();
member this.Pause : unit -> unit
Public Sub Pause ()

Exceptions

Thrown when the recorder's State is not Started.

Examples

The following example starts, pause, restarts (by calling Start) and stops the Recorder.

C# Starting, pausing, restarting and stopping a Recorder.


recorder.AttachFlow(audioVideoFlow);
recorder.SetSink(sink);
recorder.Start();



recorder.Pause();



recorder.Start();



recorder.Stop();



Remarks

Pause can be called only on recorder whose state is Started. To resume recording call Recorder.Start.

Applies to