StreamConfigurationMap.GetHighSpeedVideoFpsRangesFor(Size) Method

Definition

Get the frame per second ranges (fpsMin, fpsMax) for input high speed video size.

[Android.Runtime.Register("getHighSpeedVideoFpsRangesFor", "(Landroid/util/Size;)[Landroid/util/Range;", "")]
public Android.Util.Range[]? GetHighSpeedVideoFpsRangesFor (Android.Util.Size? size);
[<Android.Runtime.Register("getHighSpeedVideoFpsRangesFor", "(Landroid/util/Size;)[Landroid/util/Range;", "")>]
member this.GetHighSpeedVideoFpsRangesFor : Android.Util.Size -> Android.Util.Range[]

Parameters

size
Size

one of the sizes returned by #getHighSpeedVideoSizes()

Returns

Range[]

an array of supported high speed video recording FPS ranges The upper bound of returned ranges is guaranteed to be greater than or equal to 120.

Attributes

Exceptions

if input size does not exist in the return value of getHighSpeedVideoSizes

Remarks

Get the frame per second ranges (fpsMin, fpsMax) for input high speed video size.

See #getHighSpeedVideoFpsRanges for how to enable high speed recording.

The CaptureRequest#CONTROL_AE_TARGET_FPS_RANGE FPS ranges reported in this method must not be used to setup capture requests that are submitted to unconstrained capture sessions, or it will result in IllegalArgumentException IllegalArgumentExceptions.

See #getHighSpeedVideoFpsRanges for the characteristics of the returned FPS ranges.

Java documentation for android.hardware.camera2.params.StreamConfigurationMap.getHighSpeedVideoFpsRangesFor(android.util.Size).

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