Share via


Camera.Parameters.VideoStabilization Property

Definition

Caution

deprecated

Get the current state of video stabilization. -or- Enables and disables video stabilization.

[System.Obsolete("deprecated")]
public virtual bool VideoStabilization { [Android.Runtime.Register("getVideoStabilization", "()Z", "GetGetVideoStabilizationHandler")] get; [Android.Runtime.Register("setVideoStabilization", "(Z)V", "GetSetVideoStabilization_ZHandler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getVideoStabilization", "()Z", "GetGetVideoStabilizationHandler")>]
[<set: Android.Runtime.Register("setVideoStabilization", "(Z)V", "GetSetVideoStabilization_ZHandler")>]
member this.VideoStabilization : bool with get, set

Property Value

true if video stabilization is enabled

Attributes

Remarks

Property getter documentation:

Get the current state of video stabilization. See #setVideoStabilization for details of video stabilization.

Java documentation for android.hardware.Camera.Parameters.getVideoStabilization().

Property setter documentation:

Enables and disables video stabilization. Use #isVideoStabilizationSupported to determine if calling this method is valid.

Video stabilization reduces the shaking due to the motion of the camera in both the preview stream and in recorded videos, including data received from the preview callback. It does not reduce motion blur in images captured with Camera#takePicture takePicture.

Video stabilization can be enabled and disabled while preview or recording is active, but toggling it may cause a jump in the video stream that may be undesirable in a recorded video.

Java documentation for android.hardware.Camera.Parameters.setVideoStabilization(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also