RecommendedStreamConfigurationMap.GetOutputMinFrameDuration Method

Definition

Overloads

GetOutputMinFrameDuration(Class, Size)

Get the minimum CaptureRequest#SENSOR_FRAME_DURATION frame duration for the class/size combination (in nanoseconds).

GetOutputMinFrameDuration(Int32, Size)

Get the minimum android.hardware.camera2.CaptureRequest#SENSOR_FRAME_DURATION frame duration for the format/size combination (in nanoseconds).

GetOutputMinFrameDuration(Class, Size)

Get the minimum CaptureRequest#SENSOR_FRAME_DURATION frame duration for the class/size combination (in nanoseconds).

[Android.Runtime.Register("getOutputMinFrameDuration", "(Ljava/lang/Class;Landroid/util/Size;)J", "", ApiSince=29)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public long GetOutputMinFrameDuration (Java.Lang.Class klass, Android.Util.Size size);
[<Android.Runtime.Register("getOutputMinFrameDuration", "(Ljava/lang/Class;Landroid/util/Size;)J", "", ApiSince=29)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.GetOutputMinFrameDuration : Java.Lang.Class * Android.Util.Size -> int64

Parameters

klass
Class

a class which has a non-empty array returned by #getOutputSizes(Class)

size
Size

an output-compatible size

Returns

a minimum frame duration > 0 in nanoseconds, or 0 if the minimum frame duration is not available.

Attributes

Remarks

Get the minimum CaptureRequest#SENSOR_FRAME_DURATION frame duration for the class/size combination (in nanoseconds).

For more information refer to StreamConfigurationMap#getOutputMinFrameDuration(Class, Size).

Java documentation for android.hardware.camera2.params.RecommendedStreamConfigurationMap.getOutputMinFrameDuration(java.lang.Class<T>, 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

GetOutputMinFrameDuration(Int32, Size)

Get the minimum android.hardware.camera2.CaptureRequest#SENSOR_FRAME_DURATION frame duration for the format/size combination (in nanoseconds).

[Android.Runtime.Register("getOutputMinFrameDuration", "(ILandroid/util/Size;)J", "", ApiSince=29)]
public long GetOutputMinFrameDuration (int format, Android.Util.Size size);
[<Android.Runtime.Register("getOutputMinFrameDuration", "(ILandroid/util/Size;)J", "", ApiSince=29)>]
member this.GetOutputMinFrameDuration : int * Android.Util.Size -> int64

Parameters

format
Int32

an image format from ImageFormat or PixelFormat

size
Size

an output-compatible size

Returns

a minimum frame duration > 0 in nanoseconds, or 0 if the minimum frame duration is not available.

Attributes

Remarks

Get the minimum android.hardware.camera2.CaptureRequest#SENSOR_FRAME_DURATION frame duration for the format/size combination (in nanoseconds).

For further information refer to StreamConfigurationMap#getOutputMinFrameDuration.

Java documentation for android.hardware.camera2.params.RecommendedStreamConfigurationMap.getOutputMinFrameDuration(int, 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