SessionConfiguration.SetColorSpace(ColorSpace+Named) 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.
Set a specific device-supported color space.
[Android.Runtime.Register("setColorSpace", "(Landroid/graphics/ColorSpace$Named;)V", "", ApiSince=34)]
public void SetColorSpace(Android.Graphics.ColorSpace.Named colorSpace);
[<Android.Runtime.Register("setColorSpace", "(Landroid/graphics/ColorSpace$Named;)V", "", ApiSince=34)>]
member this.SetColorSpace : Android.Graphics.ColorSpace.Named -> unit
Parameters
- colorSpace
- ColorSpace.Named
- Attributes
Remarks
Set a specific device-supported color space.
Clients can choose from any profile advertised as supported in CameraCharacteristics.REQUEST_AVAILABLE_COLOR_SPACE_PROFILES queried using ColorSpaceProfiles.getSupportedColorSpaces. When set, the colorSpace will override the default color spaces of the output targets, or the color space implied by the dataSpace passed into an ImageReader's constructor.
Android reference for android.hardware.camera2.params.SessionConfiguration.setColorSpace.
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.