Camera.Parameters.ZoomRatios Property

Definition

Caution

deprecated

Gets the zoom ratios of all zoom values.

[System.Obsolete("deprecated")]
public virtual System.Collections.Generic.IList<Java.Lang.Integer>? ZoomRatios { [Android.Runtime.Register("getZoomRatios", "()Ljava/util/List;", "GetGetZoomRatiosHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getZoomRatios", "()Ljava/util/List;", "GetGetZoomRatiosHandler")>]
member this.ZoomRatios : System.Collections.Generic.IList<Java.Lang.Integer>

Property Value

the zoom ratios in 1/100 increments. Ex: a zoom of 3.2x is returned as 320. The number of elements is #getMaxZoom + 1. The list is sorted from small to large. The first element is always 100. The last element is the zoom ratio of the maximum zoom value.

Attributes

Remarks

Gets the zoom ratios of all zoom values. Applications should check #isZoomSupported before using this method.

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

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