# UserSettingsCardEntity

# UserSettingsCardEntity

*** ** * ** ***

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

<br />

```
public final class UserSettingsCardEntity extends Entity
```

<br />

|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)                                                                                                    |||
| ↳ | [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity)                                    ||
|   | ↳ | [com.google.android.engage.common.datamodel.UserSettingsCardEntity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/UserSettingsCardEntity) |

*** ** * ** ***

An entity representing a user settings card.

## Summary

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

|                                                                             ### Public methods                                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `@`[Nullable](https://developer.android.com/reference/androidx/annotation/Nullable.html)` `[String](https://developer.android.com/reference/java/lang/String.html)         | [getActionText](https://developer.android.com/reference/com/google/android/engage/common/datamodel/UserSettingsCardEntity#getActionText())`()`                                             |
| [Uri](https://developer.android.com/reference/android/net/Uri.html)                                                                                                        | [getActionUri](https://developer.android.com/reference/com/google/android/engage/common/datamodel/UserSettingsCardEntity#getActionUri())`()` Returns the action uri of the entity.         |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`     | [getEntityId](https://developer.android.com/reference/com/google/android/engage/common/datamodel/UserSettingsCardEntity#getEntityId())`()` Returns the id of the entity.                   |
| [List](https://developer.android.com/reference/java/util/List.html)`<`[Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image)`>` | [getPosterImages](https://developer.android.com/reference/com/google/android/engage/common/datamodel/UserSettingsCardEntity#getPosterImages())`()` Returns the poster image of the entity. |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`     | [getSubtitle](https://developer.android.com/reference/com/google/android/engage/common/datamodel/UserSettingsCardEntity#getSubtitle())`()` Returns the subtitle of the Engagement Entity   |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`     | [getTitle](https://developer.android.com/reference/com/google/android/engage/common/datamodel/UserSettingsCardEntity#getTitle())`()` Returns the title of the Engagement Entity            |

|                                                                                                                                                                                                          ### Inherited methods                                                                                                                                                                                                           |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity) |-------|--------------------------------------------------------------------------------------------------------------------------------| | `int` | [getEntityType](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity#getEntityType())`()` | |

## Public methods

### getActionText

```
public @Nullable String getActionText()
```  

### getActionUri

```
public Uri getActionUri()
```

Returns the action uri of the entity.  

### getEntityId

```
public Optional<String> getEntityId()
```

Returns the id of the entity.  

### getPosterImages

```
public List<Image> getPosterImages()
```

Returns the poster image of the entity.  

### getSubtitle

```
public Optional<String> getSubtitle()
```

Returns the subtitle of the Engagement Entity  

### getTitle

```
public Optional<String> getTitle()
```

Returns the title of the Engagement Entity