Edytuj

Udostępnij za pośrednictwem


AVCaptureSession.StopRunning Method

Definition

Asynchronously stops the flow of inputs and outputs.

[Foundation.Export("stopRunning")]
public virtual void StopRunning ();
abstract member StopRunning : unit -> unit
override this.StopRunning : unit -> unit
Attributes

Remarks

Application developers should note that the function StopRecording() is asynchronous; developers should wait until the FinishedRecording(AVCaptureFileOutput, NSUrl, NSObject[], NSError) delegate method before manipulating the file (for instance, before saving it to the Photos album with SaveToPhotosAlbum(String, UIVideo+SaveStatus) or WriteVideoToSavedPhotosAlbumAsync(NSUrl)).

Applies to