# QC

public class QC implements IMeasurementData

Class describing measurement data from a DeviceType.QC device

#### Inheritors

Pro2
Mini2

## Constructors

MeasurementData.QC
Link copied to clipboard
public MeasurementData.QC MeasurementData.QC(Byte status, DoubleArray scanDataA, DoubleArray scanDataB, Integer tRefInteger, Integer tScanInteger, Boolean tCompEnabled, Boolean tileEnabled, DeviceType deviceType)

## Types

Companion
Link copied to clipboard
public class Companion

## Properties

Companion
Link copied to clipboard
public final static MeasurementData.QC.Companion Companion
deviceType
Link copied to clipboard
private final DeviceType deviceType

Device type that was used to make this measurement.

mode
Link copied to clipboard
private final ScanMode mode

Scan mode for this measurement (one of ScanMode.M0, ScanMode.M1, or ScanMode.M2)

providesDensity
Link copied to clipboard
private final Boolean providesDensity

Flag indicating if this measurement provides absolute density values. This value depends on both the deviceType and LicenseManager supporting the LicenseFeature.DENSITY_DATA feature. See also DeviceType.isFeatureSupported and LicenseManager.Shared.isFeatureEnabled.

providesSpectral
Link copied to clipboard
private final Boolean providesSpectral

Flag indicating if this measurement provides spectral values. This value depends on both the deviceType and availability of the LicenseFeature.SPECTRAL_DATA feature. See also DeviceType.isFeatureSupported and LicenseManager.Shared.isFeatureEnabled.

raw
Link copied to clipboard
private final String raw

Raw data for a measurement. Can be used for measurement object reconstruction.

spectralData
Link copied to clipboard
private final ISpectralData spectralData

Provides a spectral data object from this measurement, or `null` if spectral data is not available. See also providesSpectral.

status
Link copied to clipboard
private final Byte status

Scan status byte. A value of `0x01` indicates success, all other values indicate error states.

supportedReferences
Link copied to clipboard
private final Array<ReferenceWhite> supportedReferences

Array describing all reference white points that are available when requesting color data from this measurement using IMeasurementData.toColorData

tCompEnabled
Link copied to clipboard
private final Boolean tCompEnabled

Flag indicating if temperature compensation was applied to the calibrated output for this measurement. Value is `null` if the device did not support temperature measurements.

tileDelta
Link copied to clipboard
private final Double tileDelta

Delta E value between this measurement and factory reference. Value is non-null for measurement values from IDeviceCompat.runFieldCalibration and `null` in all other cases.

tileEnabled
Link copied to clipboard
private final Boolean tileEnabled

Flag indicating if in-field profiling corrections / white reference tile measurements were applied to the calibrated output data. Value is `null` if the device did not support in-field profiling.

tReal
Link copied to clipboard
private final Boolean tReal

Flag describing the units for the reported temperature measurement. When `true`, temperature values are 'real' (floating point, degrees C). When `false`, temperatures are reported on an arbitrary raw scale. Value is `null` if the device did not support temperature measurements.

tRef
Link copied to clipboard
private final Float tRef

Baseline reference temperature for this measurement, or `null` if the device did not support temperature measurements.

tScan
Link copied to clipboard
private final Float tScan

Temperature of the Nix device at the time of this measurement, or `null` if the device did not support temperature measurements.

## Functions

getDeviceType
Link copied to clipboard
public final DeviceType getDeviceType()

Device type that was used to make this measurement.

getMode
Link copied to clipboard
public ScanMode getMode()

Scan mode for this measurement (one of ScanMode.M0, ScanMode.M1, or ScanMode.M2)

getProvidesDensity
Link copied to clipboard
public Boolean getProvidesDensity()
getProvidesSpectral
Link copied to clipboard
public Boolean getProvidesSpectral()
getRaw
Link copied to clipboard
public String getRaw()

Raw data for a measurement. Can be used for measurement object reconstruction.

getSpectralData
Link copied to clipboard
public ISpectralData getSpectralData()

Provides a spectral data object from this measurement, or `null` if spectral data is not available. See also providesSpectral.

getStatus
Link copied to clipboard
public final Byte getStatus()

Scan status byte. A value of `0x01` indicates success, all other values indicate error states.

getSupportedReferences
Link copied to clipboard
public Array<ReferenceWhite> getSupportedReferences()
getTCompEnabled
Link copied to clipboard
public Boolean getTCompEnabled()

Flag indicating if temperature compensation was applied to the calibrated output for this measurement. Value is `null` if the device did not support temperature measurements.

getTileDelta
Link copied to clipboard
public Double getTileDelta()

Delta E value between this measurement and factory reference. Value is non-null for measurement values from IDeviceCompat.runFieldCalibration and `null` in all other cases.

getTileEnabled
Link copied to clipboard
public Boolean getTileEnabled()

Flag indicating if in-field profiling corrections / white reference tile measurements were applied to the calibrated output data. Value is `null` if the device did not support in-field profiling.

getTReal
Link copied to clipboard
public Boolean getTReal()

Flag describing the units for the reported temperature measurement. When `true`, temperature values are 'real' (floating point, degrees C). When `false`, temperatures are reported on an arbitrary raw scale. Value is `null` if the device did not support temperature measurements.

getTRef
Link copied to clipboard
public Float getTRef()

Baseline reference temperature for this measurement, or `null` if the device did not support temperature measurements.

getTScan
Link copied to clipboard
public Float getTScan()

Temperature of the Nix device at the time of this measurement, or `null` if the device did not support temperature measurements.

providesColor
Link copied to clipboard
public Boolean providesColor(Illuminant illuminant, Observer observer)
public Boolean providesColor(ReferenceWhite reference)

Returns `true` if color data for the selected combination of illuminant and observer are available for this measurement.

toColorData
Link copied to clipboard
public IColorData toColorData(Illuminant illuminant, Observer observer, IColorData.ColorType type)
public IColorData toColorData(ReferenceWhite reference, IColorData.ColorType type)

Provides color data from this measurement for the specified illuminant and observer white point. Result is `null` if the specified white point is not available for this measurement.

toColorInt
Link copied to clipboard
@ColorInt()
public Integer toColorInt(ReferenceWhite reference)
@ColorInt()
public Integer toColorInt(Illuminant illuminant, Observer observer)

Provides an sRGB value (as a `ColorInt`) for this measurement for the specified illuminant and observer white point. Result is `null` if the specified white point is not available for this measurement.

toDensityData
Link copied to clipboard
public IDensityData toDensityData(DensityStatus status)

Provides absolute density values for this measurement for the specified density status evaluated as per ISO 5-3:2009, or `null` if density data is not available. See also providesDensity.

toRgbValue
Link copied to clipboard
public IntArray toRgbValue(ReferenceWhite reference)
public IntArray toRgbValue(Illuminant illuminant, Observer observer)

Provides an sRGB value for this measurement for the specified illuminant and observer white point. Result is `null` if the specified white point is not available for this measurement.