Share via


Camera.Parameters.FocusDistanceOptimalIndex Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.FocusDistance enum directly instead of this field.

The array index of optimal focus distance for use with #getFocusDistances(float[]).

[Android.Runtime.Register("FOCUS_DISTANCE_OPTIMAL_INDEX")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.FocusDistance enum directly instead of this field.", true)]
public const Android.Hardware.FocusDistance FocusDistanceOptimalIndex = 1;
[<Android.Runtime.Register("FOCUS_DISTANCE_OPTIMAL_INDEX")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.FocusDistance enum directly instead of this field.", true)>]
val mutable FocusDistanceOptimalIndex : Android.Hardware.FocusDistance

Field Value

Value = 1
Attributes

Remarks

The array index of optimal focus distance for use with #getFocusDistances(float[]).

Java documentation for android.hardware.Camera.Parameters.FOCUS_DISTANCE_OPTIMAL_INDEX.

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