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
deviceIDeviceCompat
Returns
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
deviceIDeviceCompatfeatureLicenseFeature
Returns
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
deviceIDeviceCompatmodeScanMode
Returns
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
deviceIDeviceCompatilluminantIlluminantobserverObserver
Returns
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
deviceIDeviceCompatreferenceReferenceWhite