---
title: capabilitiesForHardware()
framework: corehaptics
role: symbol
role_heading: Type Method
path: corehaptics/chhapticengine/capabilitiesforhardware()
---

# capabilitiesForHardware()

Returns a device capability object that describes the device’s haptic support and limitations.

## Declaration

```swift
class func capabilitiesForHardware() -> any CHHapticDeviceCapability
```

## See Also

### Querying System Capabilities

- [CHHapticDeviceCapability](corehaptics/chhapticdevicecapability.md)
- [CHHapticParameterAttributes](corehaptics/chhapticparameterattributes.md)
- [attributes(forDynamicParameter:)](corehaptics/chhapticdevicecapability/attributes(fordynamicparameter:).md)
