RecommendedStreamConfigurationMap.IsOutputSupportedFor 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
| IsOutputSupportedFor(Int32) |
Determine whether or not output surfaces with a particular user-defined format can be passed
|
| IsOutputSupportedFor(Surface) |
Determine whether or not the |
IsOutputSupportedFor(Int32)
Determine whether or not output surfaces with a particular user-defined format can be passed
CameraDevice#createCaptureSession(SessionConfiguration) createCaptureSession.
[Android.Runtime.Register("isOutputSupportedFor", "(I)Z", "", ApiSince=29)]
public bool IsOutputSupportedFor(int format);
[<Android.Runtime.Register("isOutputSupportedFor", "(I)Z", "", ApiSince=29)>]
member this.IsOutputSupportedFor : int -> bool
Parameters
- format
- Int32
an image format from either ImageFormat or PixelFormat
Returns
true if using a surface with this format will be
supported with CameraDevice#createCaptureSession(SessionConfiguration)
- Attributes
Remarks
Determine whether or not output surfaces with a particular user-defined format can be passed CameraDevice#createCaptureSession(SessionConfiguration) createCaptureSession.
For further information refer to StreamConfigurationMap#isOutputSupportedFor.
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
IsOutputSupportedFor(Surface)
Determine whether or not the surface in its current
state is suitable to be included in a CameraDevice#createCaptureSession(SessionConfiguration) capture
session as an output.
[Android.Runtime.Register("isOutputSupportedFor", "(Landroid/view/Surface;)Z", "", ApiSince=29)]
public bool IsOutputSupportedFor(Android.Views.Surface surface);
[<Android.Runtime.Register("isOutputSupportedFor", "(Landroid/view/Surface;)Z", "", ApiSince=29)>]
member this.IsOutputSupportedFor : Android.Views.Surface -> bool
Parameters
- surface
- Surface
a Surface object reference
Returns
true if this is supported, false otherwise
- Attributes
Remarks
Determine whether or not the surface in its current state is suitable to be included in a CameraDevice#createCaptureSession(SessionConfiguration) capture session as an output.
For more information refer to StreamConfigurationMap#isOutputSupportedFor.
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.