Condividi tramite


ColorSpaceProfiles.GetSupportedColorSpacesForDynamicRange Method

Definition

Return a list of color spaces that are compatible with an ImageFormat and a dynamic range profile.

[Android.Runtime.Register("getSupportedColorSpacesForDynamicRange", "(IJ)Ljava/util/Set;", "", ApiSince=34)]
public System.Collections.Generic.ICollection<Android.Graphics.ColorSpace.Named> GetSupportedColorSpacesForDynamicRange (Android.Graphics.ImageFormatType imageFormat, long dynamicRangeProfile);
[<Android.Runtime.Register("getSupportedColorSpacesForDynamicRange", "(IJ)Ljava/util/Set;", "", ApiSince=34)>]
member this.GetSupportedColorSpacesForDynamicRange : Android.Graphics.ImageFormatType * int64 -> System.Collections.Generic.ICollection<Android.Graphics.ColorSpace.Named>

Parameters

imageFormat
ImageFormatType
dynamicRangeProfile
Int64

Returns

set of color spaces

Attributes

Remarks

Return a list of color spaces that are compatible with an ImageFormat and a dynamic range profile. If ImageFormat.UNKNOWN is provided, this function will return a set of all unique color spaces compatible with the given dynamic range profile, regardless of image format.

Java documentation for android.hardware.camera2.params.ColorSpaceProfiles.getSupportedColorSpacesForDynamicRange(int, 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