Sdílet prostřednictvím


BlackLevelPattern(Int32[]) Constructor

Definition

Create a new BlackLevelPattern from a given offset array.

[Android.Runtime.Register(".ctor", "([I)V", "", ApiSince=34)]
public BlackLevelPattern (int[] offsets);
[<Android.Runtime.Register(".ctor", "([I)V", "", ApiSince=34)>]
new Android.Hardware.Camera2.Params.BlackLevelPattern : int[] -> Android.Hardware.Camera2.Params.BlackLevelPattern

Parameters

offsets
Int32[]

an array containing a 2x2 pattern of offsets.

Attributes

Remarks

Create a new BlackLevelPattern from a given offset array.

The given offset array must contain offsets for each color channel in a 2x2 pattern corresponding to the color filter arrangement. Offsets are given in row-column scan order.

This constructor is public to allow for easier application testing by creating custom object instances. It's not necessary to construct these objects during normal use of the camera API.

Java documentation for android.hardware.camera2.params.BlackLevelPattern.BlackLevelPattern(int[]).

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