# FeaturedCluster

# FeaturedCluster

*** ** * ** ***

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

<br />

```
public final class FeaturedCluster
```

<br />

*** ** * ** ***

A list of featured entities.

## Summary

|                                                                                                                                          ### Nested types                                                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public final class `[FeaturedCluster.Builder](https://developer.android.com/reference/com/google/android/engage/common/datamodel/FeaturedCluster.Builder) Builder class for[FeaturedCluster](https://developer.android.com/reference/com/google/android/engage/common/datamodel/FeaturedCluster). |

|                                                                                                          ### Public methods                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int`                                                                                                                                                                                                                                 | [getClusterType](https://developer.android.com/reference/com/google/android/engage/common/datamodel/FeaturedCluster#getClusterType())`()`                                                                                                                                 |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[DisplayTimeWindow](https://developer.android.com/reference/com/google/android/engage/common/datamodel/DisplayTimeWindow)`>` | [getDisplayTimeWindows](https://developer.android.com/reference/com/google/android/engage/common/datamodel/FeaturedCluster#getDisplayTimeWindows())`()` Returns the display time windows associated with the cluster.                                                     |
| [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/FeaturedCluster#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()
```  

### getDisplayTimeWindows

```
public ImmutableList<DisplayTimeWindow> getDisplayTimeWindows()
```

Returns the display time windows associated with the cluster.  

### 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.