Share via


Camera.Parameters.FocalLength Property

Definition

Caution

deprecated

Gets the focal length (in millimeter) of the camera.

[System.Obsolete("deprecated")]
public virtual float FocalLength { [Android.Runtime.Register("getFocalLength", "()F", "GetGetFocalLengthHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getFocalLength", "()F", "GetGetFocalLengthHandler")>]
member this.FocalLength : single

Property Value

the focal length. Returns -1.0 when the device doesn't report focal length information.

Attributes

Remarks

Gets the focal length (in millimeter) of the camera.

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

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