---
title: HMCharacteristicTypeSwingMode
framework: homekit
role: symbol
role_heading: Global Variable
path: homekit/hmcharacteristictypeswingmode
---

# HMCharacteristicTypeSwingMode

An indicator of whether a fan swings back and forth during operation.

## Declaration

```swift
let HMCharacteristicTypeSwingMode: String
```

## Discussion

Discussion The corresponding value is one of the constants in the HMCharacteristicValueSwingMode enumeration.

## Topics

### Values

- [HMCharacteristicValueSwingMode](homekit/hmcharacteristicvalueswingmode.md)

## See Also

### Fans

- [HMCharacteristicTypeCurrentFanState](homekit/hmcharacteristictypecurrentfanstate.md)
- [HMCharacteristicTypeTargetFanState](homekit/hmcharacteristictypetargetfanstate.md)
- [HMCharacteristicTypeRotationDirection](homekit/hmcharacteristictyperotationdirection.md)
- [HMCharacteristicTypeRotationSpeed](homekit/hmcharacteristictyperotationspeed.md)
