---
title: exportDictionary()
framework: corehaptics
role: symbol
role_heading: Instance Method
path: corehaptics/chhapticpattern/exportdictionary()
---

# exportDictionary()

Returns the dictionary representation of the haptic pattern.

## Declaration

```swift
func exportDictionary() throws -> [CHHapticPattern.Key : Any]
```
