Language

MultiResolutionStreamInfo Constructors

Definition

Overloads

Name Description
MultiResolutionStreamInfo(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

MultiResolutionStreamInfo(Int32, Int32, String)

Create a new MultiResolutionStreamInfo.

MultiResolutionStreamInfo(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected MultiResolutionStreamInfo(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Hardware.Camera2.Params.MultiResolutionStreamInfo : nativeint * Android.Runtime.JniHandleOwnership -> Android.Hardware.Camera2.Params.MultiResolutionStreamInfo

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to

MultiResolutionStreamInfo(Int32, Int32, String)

Create a new MultiResolutionStreamInfo.

[Android.Runtime.Register(".ctor", "(IILjava/lang/String;)V", "", ApiSince=31)]
public MultiResolutionStreamInfo(int streamWidth, int streamHeight, string physicalCameraId);
[<Android.Runtime.Register(".ctor", "(IILjava/lang/String;)V", "", ApiSince=31)>]
new Android.Hardware.Camera2.Params.MultiResolutionStreamInfo : int * int * string -> Android.Hardware.Camera2.Params.MultiResolutionStreamInfo

Parameters

streamWidth
Int32

The width in pixels of the camera stream

streamHeight
Int32

The height in pixels of the camera stream

physicalCameraId
String

The physical camera Id the camera stream is associated with

Attributes

Remarks

Create a new MultiResolutionStreamInfo.

This class creates a MultiResolutionStreamInfo using image width, image height, and the physical camera Id images originate from.

Normally applications do not need to create these directly. Use MultiResolutionStreamConfigurationMap#getOutputInfo or MultiResolutionStreamConfigurationMap#getInputInfo to obtain them for a particular format instead.

Java documentation for android.hardware.camera2.params.MultiResolutionStreamInfo.MultiResolutionStreamInfo(int, int, java.lang.String).

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