Method SupportsFeature
Namespace: Belay.Core
Assembly: Belay.Core.dll
SupportsFeature(SimpleDeviceFeatureSet)
Gets a value indicating whether the device supports a specific feature.
csharp
public bool SupportsFeature(SimpleDeviceFeatureSet feature)
Parameters
feature
SimpleDeviceFeatureSet
The feature to check for support.
Returns
True if the feature is supported; otherwise, false.
Examples
if (capabilities.SupportsFeature(SimpleDeviceFeatureSet.GPIO))
{
// Use GPIO functionality
}