RecommendedStreamConfigurationMap.GetOutputStallDuration Method

Definition

Overloads

GetOutputStallDuration(Class, Size)

Get the stall duration for the class/size combination (in nanoseconds).

GetOutputStallDuration(Int32, Size)

Get the stall duration for the format/size combination (in nanoseconds).

GetOutputStallDuration(Class, Size)

Get the stall duration for the class/size combination (in nanoseconds).

[Android.Runtime.Register("getOutputStallDuration", "(Ljava/lang/Class;Landroid/util/Size;)J", "", ApiSince=29)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public long GetOutputStallDuration (Java.Lang.Class klass, Android.Util.Size size);
[<Android.Runtime.Register("getOutputStallDuration", "(Ljava/lang/Class;Landroid/util/Size;)J", "", ApiSince=29)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.GetOutputStallDuration : 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 stall duration is not available.

Attributes

Remarks

Get the stall duration for the class/size combination (in nanoseconds).

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

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

GetOutputStallDuration(Int32, Size)

Get the stall duration for the format/size combination (in nanoseconds).

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

Parameters

format
Int32

an image format from ImageFormat or PixelFormat

size
Size

an output-compatible size

Returns

a stall duration >= 0 in nanoseconds

Attributes

Remarks

Get the stall duration for the format/size combination (in nanoseconds).

For further information refer to StreamConfigurationMap#getOutputStallDuration.

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