# EngagementCluster

# EngagementCluster

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/EngagementCluster "View this page in Kotlin")\|Java  

<br />

```
public final class EngagementCluster
```

<br />

*** ** * ** ***

Creates an Engagement cluster.

## Summary

|                                                                              ### Public methods                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int`                                                                                                                                                                        | [getClusterType](https://developer.android.com/reference/com/google/android/engage/common/datamodel/EngagementCluster#getClusterType())`()`                                                                                                                                 |
| [List](https://developer.android.com/reference/java/util/List.html)`<`[Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity)`>` | [getEntities](https://developer.android.com/reference/com/google/android/engage/common/datamodel/EngagementCluster#getEntities())`()` Returns the list of[Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity)in the Cluster. |

## Public methods

### getClusterType

```
public int getClusterType()
```  

### getEntities

```
public List<Entity> getEntities()
```

Returns the list of[Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity)in the Cluster.