# UserSettingsCardEntity

# UserSettingsCardEntity

*** ** * ** ***

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


```
class UserSettingsCardEntity : Entity
```

<br />

|---|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                                           |||
| ↳ | [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity)                                    ||
|   | ↳ | [com.google.android.engage.common.datamodel.UserSettingsCardEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/UserSettingsCardEntity) |

*** ** * ** ***

An entity representing a user settings card.

## Summary

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

|                                                                                                                                               ### Public functions                                                                                                                                                |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?`                                                                                                                                                                                                                               | [getActionText](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/UserSettingsCardEntity#getActionText())`()`                                             |
| [Uri](https://developer.android.com/reference/android/net/Uri.html)`!`                                                                                                                                                                                                                                            | [getActionUri](https://developer.android.com/reference/kotlin/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://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/UserSettingsCardEntity#getEntityId())`()` Returns the id of the entity.                   |
| `(`[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)`<`[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!>!` | [getPosterImages](https://developer.android.com/reference/kotlin/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://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getSubtitle](https://developer.android.com/reference/kotlin/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://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getTitle](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/UserSettingsCardEntity#getTitle())`()` Returns the title of the Engagement Entity            |

|                                                                                                                                                                                                                                                                                         ### Inherited functions                                                                                                                                                                                                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity) |----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getEntityType](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity#getEntityType())`()` | |

## Public functions

### getActionText

```
fun getActionText(): String?
```  

### getActionUri

```
fun getActionUri(): Uri!
```

Returns the action uri of the entity.  

### getEntityId

```
fun getEntityId(): Optional<String!>!
```

Returns the id of the entity.  

### getPosterImages

```
fun getPosterImages(): (Mutable)List<Image!>!
```

Returns the poster image of the entity.  

### getSubtitle

```
fun getSubtitle(): Optional<String!>!
```

Returns the subtitle of the Engagement Entity  

### getTitle

```
fun getTitle(): Optional<String!>!
```

Returns the title of the Engagement Entity