Udostępnij za pośrednictwem


ColorSpaceProfiles(Int64[]) Constructor

Definition

Create a new immutable ColorSpaceProfiles instance.

[Android.Runtime.Register(".ctor", "([J)V", "", ApiSince=34)]
public ColorSpaceProfiles (long[] elements);
[<Android.Runtime.Register(".ctor", "([J)V", "", ApiSince=34)>]
new Android.Hardware.Camera2.Params.ColorSpaceProfiles : int64[] -> Android.Hardware.Camera2.Params.ColorSpaceProfiles

Parameters

elements
Int64[]

An array of elements describing the map. It contains three elements per entry which describe the supported color space profile value in the first element, a compatible image format in the second, and in the third element a bitmap of compatible dynamic range profiles (see DynamicRangeProfiles#STANDARD and others for the individual bitmap components).

Attributes

Remarks

Create a new immutable ColorSpaceProfiles instance.

This constructor takes over the array; do not write to the array afterwards.

Do note that the constructor is available for testing purposes only! Camera clients must always retrieve the value of android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_COLOR_SPACE_PROFILES. for a given camera id in order to retrieve the device capabilities.

Java documentation for android.hardware.camera2.params.ColorSpaceProfiles.ColorSpaceProfiles(long[]).

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