Android.Hardware.Camera2.CaptureResult.LensFocalLength Property

Syntax

[Android.Runtime.Register("LENS_FOCAL_LENGTH")]
public static CaptureResult.Key LensFocalLength { get; }

See Also

CaptureRequest.LensAperture
CaptureRequest.LensFocusDistance
CameraCharacteristics.LensInfoAvailableFocalLengths
CaptureResult.LensState

Value

Documentation for this section has not yet been entered.

Remarks

The desired lens focal length; used for optical zoom.

This setting controls the physical focal length of the camera device's lens. Changing the focal length changes the field of view of the camera device, and is usually used for optical zoom.

Like CaptureRequest.LensFocusDistance and CaptureRequest.LensAperture, this setting won't be applied instantaneously, and it may take several frames before the lens can change to the requested focal length. While the focal length is still changing, CaptureResult.LensState will be set to MOVING.

Optical zoom will not be supported on most devices.

Units: Millimeters

Range of valid values:

CameraCharacteristics.LensInfoAvailableFocalLengths

This key is available on all devices.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0