<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHaptics",
  "identifier" : "/documentation/CoreHaptics/CHHapticDeviceCapability",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Haptics"
    ],
    "preciseIdentifier" : "c:objc(pl)CHHapticDeviceCapability"
  },
  "title" : "CHHapticDeviceCapability"
}
-->

# CHHapticDeviceCapability

A protocol that defines haptics and audio capabilities of a device.

```
protocol CHHapticDeviceCapability
```

## Topics

### Determining Support for Haptics

[`supportsAudio`](/documentation/CoreHaptics/CHHapticDeviceCapability/supportsAudio)

A Boolean value that indicates whether the device supports audio event playback.

[`supportsHaptics`](/documentation/CoreHaptics/CHHapticDeviceCapability/supportsHaptics)

A Boolean value that indicates whether the device supports haptic event playback.

### Determining Supported Parameters

[`-  attributesForDynamicParameter:error:`](/documentation/CoreHaptics/CHHapticDeviceCapability/attributes(forDynamicParameter:))

Requests the haptic device’s attributes for a dynamic parameter.

[`-  attributesForEventParameter:eventType:error:`](/documentation/CoreHaptics/CHHapticDeviceCapability/attributes(forEventParameter:eventType:))

Returns the haptic device’s attributes for an event parameter.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)