---
title: "newFeatureMapAttribute(withInitialValue:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrserverattribute/newfeaturemapattribute(withinitialvalue:)"
---

# newFeatureMapAttribute(withInitialValue:)

Create an attribute description for a FeatureMap attribute with the provided value (expected to be an unsigned integer representing the value of the bitmap). This will automatically set requiredPrivilege to the right value for FeatureMap.

## Declaration

```swift
class func newFeatureMapAttribute(withInitialValue value: NSNumber) -> Self
```
