Table of Contents

Class IDeviceCompatExtensions

Namespace
NixUniversalSDK
Assembly
NixUniversalSDK.dll

Extensions for IDeviceCompat instances.

public static class IDeviceCompatExtensions
Inheritance
IDeviceCompatExtensions
Inherited Members

Methods

HasOptions(IDeviceCompat)

Flag to indicate if any on-device options are available. Value is true if any one of SupportsFieldCalibration, SupportsTemperatureCompensation, SupportsHapticFeedback, or SupportsRgbFeedback is true.

public static bool HasOptions(this IDeviceCompat device)

Parameters

device IDeviceCompat

Returns

bool

IsFeatureSupported(IDeviceCompat, LicenseFeature)

Helper to check if a particular LicenseFeature is supported by this device.

public static bool IsFeatureSupported(this IDeviceCompat device, LicenseFeature feature)

Parameters

device IDeviceCompat
feature LicenseFeature

Returns

bool

IsModeSupported(IDeviceCompat, ScanMode)

Helper to check if a particular scan mode is supported by this device (i.e. - checks if the mode is present in the SupportedModes list). This value is valid only after a connection has successfully been opened.

public static bool IsModeSupported(this IDeviceCompat device, ScanMode mode)

Parameters

device IDeviceCompat
mode ScanMode

Returns

bool

ProvidesColor(IDeviceCompat, Illuminant, Observer)

Helper to check if a particular reference white point is supported by the colorimetry data from this device (i.e - checks if the reference is present in the SupportedReferences list`).

public static bool ProvidesColor(this IDeviceCompat device, Illuminant illuminant, Observer observer)

Parameters

device IDeviceCompat
illuminant Illuminant
observer Observer

Returns

bool

ProvidesColor(IDeviceCompat, ReferenceWhite)

Helper to check if a particular reference white point is supported by the colorimetry data from this device (i.e - checks if the reference is present in the SupportedReferences list`).

public static bool ProvidesColor(this IDeviceCompat device, ReferenceWhite reference)

Parameters

device IDeviceCompat
reference ReferenceWhite

Returns

bool