RecommendedStreamConfigurationMap.GetOutputMinFrameDuration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetOutputMinFrameDuration(Class, Size) |
Get the minimum |
GetOutputMinFrameDuration(Int32, Size) |
Get the minimum
|
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)
.
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
.
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.