# ContinuationCluster

# ContinuationCluster

*** ** * ** ***

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

<br />

```
public final class ContinuationCluster
```

<br />

*** ** * ** ***

A list of entities for continuation clusters.

## Summary

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

|                                                                                                          ### Public methods                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[AccountProfile](https://developer.android.com/reference/com/google/android/engage/common/datamodel/AccountProfile)`>`                    | [getAccountProfile](https://developer.android.com/reference/com/google/android/engage/common/datamodel/ContinuationCluster#getAccountProfile())`()` \* Returns the account profile for a user.                                                                                |
| `int`                                                                                                                                                                                                                                 | [getClusterType](https://developer.android.com/reference/com/google/android/engage/common/datamodel/ContinuationCluster#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/ContinuationCluster#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/ContinuationCluster#getEntities())`()` Returns the list of[Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity)in the Cluster. |
| `boolean`                                                                                                                                                                                                                             | [getSyncAcrossDevices](https://developer.android.com/reference/com/google/android/engage/common/datamodel/ContinuationCluster#getSyncAcrossDevices())`()` Returns the flag to sync across devices.                                                                            |

## Public methods

### getAccountProfile

```
public Optional<AccountProfile> getAccountProfile()
```

\* Returns the account profile for a user.  

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

### getSyncAcrossDevices

```
public boolean getSyncAcrossDevices()
```

Returns the flag to sync across devices.