Edytuj

Udostępnij za pośrednictwem


AVCaptureDevice.CancelVideoZoomRamp Method

Definition

Smoothly cancels an in-progress video zoom.

[Foundation.Export("cancelVideoZoomRamp")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void CancelVideoZoomRamp ();
abstract member CancelVideoZoomRamp : unit -> unit
override this.CancelVideoZoomRamp : unit -> unit
Attributes

Remarks

This method is equivalent to calling RampToVideoZoom(nfloat, Single) with a rate of 0. The zoom does not end immediately, but stops smoothly.

Applies to