---
title: validValues
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmcharacteristicmetadata/validvalues
---

# validValues

The subset of valid values supported by the characteristic when the format is of type unsigned integer.

## Declaration

```swift
var validValues: [NSNumber]? { get }
```

## See Also

### Bounding the value

- [minimumValue](homekit/hmcharacteristicmetadata/minimumvalue.md)
- [maximumValue](homekit/hmcharacteristicmetadata/maximumvalue.md)
- [stepValue](homekit/hmcharacteristicmetadata/stepvalue.md)
- [maxLength](homekit/hmcharacteristicmetadata/maxlength.md)
