---
title: MTRClusterGroups
framework: matter
role: symbol
role_heading: Class
path: matter/mtrclustergroups
---

# MTRClusterGroups

## Declaration

```swift
class MTRClusterGroups
```

## Topics

### Initializers

- [init(device:endpoint:queue:)](matter/mtrclustergroups/init(device:endpoint:queue:).md)
- [init(device:endpointID:queue:)](matter/mtrclustergroups/init(device:endpointid:queue:).md)

### Instance Methods

- [addGroup(with:expectedValues:expectedValueInterval:completion:)](matter/mtrclustergroups/addgroup(with:expectedvalues:expectedvalueinterval:completion:).md)
- [addGroup(with:expectedValues:expectedValueInterval:completionHandler:)](matter/mtrclustergroups/addgroup(with:expectedvalues:expectedvalueinterval:completionhandler:).md)
- [addGroupIfIdentifying(with:expectedValues:expectedValueInterval:completion:)](matter/mtrclustergroups/addgroupifidentifying(with:expectedvalues:expectedvalueinterval:completion:).md)
- [addGroupIfIdentifying(with:expectedValues:expectedValueInterval:completionHandler:)](matter/mtrclustergroups/addgroupifidentifying(with:expectedvalues:expectedvalueinterval:completionhandler:).md)
- [getGroupMembership(with:expectedValues:expectedValueInterval:completion:)](matter/mtrclustergroups/getgroupmembership(with:expectedvalues:expectedvalueinterval:completion:).md)
- [getGroupMembership(with:expectedValues:expectedValueInterval:completionHandler:)](matter/mtrclustergroups/getgroupmembership(with:expectedvalues:expectedvalueinterval:completionhandler:).md)
- [readAttributeAcceptedCommandList(with:)](matter/mtrclustergroups/readattributeacceptedcommandlist(with:).md)
- [readAttributeAttributeList(with:)](matter/mtrclustergroups/readattributeattributelist(with:).md)
- [readAttributeClusterRevision(with:)](matter/mtrclustergroups/readattributeclusterrevision(with:).md)
- [readAttributeFeatureMap(with:)](matter/mtrclustergroups/readattributefeaturemap(with:).md)
- [readAttributeGeneratedCommandList(with:)](matter/mtrclustergroups/readattributegeneratedcommandlist(with:).md)
- [readAttributeNameSupport(with:)](matter/mtrclustergroups/readattributenamesupport(with:).md)
- [removeAllGroups(with:expectedValues:expectedValueInterval:completion:)](matter/mtrclustergroups/removeallgroups(with:expectedvalues:expectedvalueinterval:completion:).md)
- [removeAllGroups(with:expectedValues:expectedValueInterval:completionHandler:)](matter/mtrclustergroups/removeallgroups(with:expectedvalues:expectedvalueinterval:completionhandler:).md)
- [removeAllGroups(withExpectedValues:expectedValueInterval:completion:)](matter/mtrclustergroups/removeallgroups(withexpectedvalues:expectedvalueinterval:completion:).md)
- [removeAllGroups(withExpectedValues:expectedValueInterval:completionHandler:)](matter/mtrclustergroups/removeallgroups(withexpectedvalues:expectedvalueinterval:completionhandler:).md)
- [removeGroup(with:expectedValues:expectedValueInterval:completion:)](matter/mtrclustergroups/removegroup(with:expectedvalues:expectedvalueinterval:completion:).md)
- [removeGroup(with:expectedValues:expectedValueInterval:completionHandler:)](matter/mtrclustergroups/removegroup(with:expectedvalues:expectedvalueinterval:completionhandler:).md)
- [viewGroup(with:expectedValues:expectedValueInterval:completion:)](matter/mtrclustergroups/viewgroup(with:expectedvalues:expectedvalueinterval:completion:).md)
- [viewGroup(with:expectedValues:expectedValueInterval:completionHandler:)](matter/mtrclustergroups/viewgroup(with:expectedvalues:expectedvalueinterval:completionhandler:).md)

## Relationships

### Inherits From

- [MTRGenericCluster](matter/mtrgenericcluster.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
