AVCaptureStillImageOutput.AutomaticallyEnablesStillImageStabilizationWhenAvailable Property
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.
Controls whether automatic image stabilization should be used
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AutomaticallyEnablesStillImageStabilizationWhenAvailable { [Foundation.Export("automaticallyEnablesStillImageStabilizationWhenAvailable")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setAutomaticallyEnablesStillImageStabilizationWhenAvailable:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.AutomaticallyEnablesStillImageStabilizationWhenAvailable : bool with get, set
Property Value
Defaults to true for devices that support hardware image stabilization, false otherwise.
- Attributes
Remarks
Image stabilization introduces a small delay in taking pictures. This would be a reason to turn this feature off as it is enabled by default.
Attempts to set this value to true on hardware that does not support image stabilization will result in an exception being thrown. Use the IsStillImageStabilizationSupported property to query whether the hardware supports it.
if (capture.IsStillImageStabilizationSupported)
capture.AutomaticallyEnableStillImageStabilizationWhenAvailable = true;