# EngagementCluster

# EngagementCluster

*** ** * ** ***

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


```
class EngagementCluster
```

<br />

*** ** * ** ***

Creates an Engagement cluster.

## Summary

|                                                                                                                                                ### Public functions                                                                                                                                                 |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)                                                                                                                                                                                                                                          | [getClusterType](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/EngagementCluster#getClusterType())`()`                                                                                                                                          |
| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity)`!>!` | [getEntities](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/EngagementCluster#getEntities())`()` Returns the list of [Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity) in the Cluster. |

## Public functions

### getClusterType

```
fun getClusterType(): Int
```  

### getEntities

```
fun getEntities(): (Mutable)List<Entity!>!
```

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