# Profile

# Profile

*** ** * ** ***

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

<br />

```
class Profile
```

<br />

*** ** * ** ***

An object representing a user profile on social media.

## Summary

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

|                                                                                           ### Public functions                                                                                            |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!>!` | [getAdditionalImage](https://developer.android.com/reference/kotlin/com/google/android/engage/social/datamodel/Profile#getAdditionalImage())`()` Returns the additional image associated with the profile.              |
| [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)`!>!`                         | [getAdditionalText](https://developer.android.com/reference/kotlin/com/google/android/engage/social/datamodel/Profile#getAdditionalText())`()` Returns the additional metadata associated with the profile. e.g. handle |

|                                            ### Public properties                                            |
|-------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|
| [Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!` | [avatar](https://developer.android.com/reference/kotlin/com/google/android/engage/social/datamodel/Profile#avatar()) |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!`                         | [name](https://developer.android.com/reference/kotlin/com/google/android/engage/social/datamodel/Profile#name())     |

## Public functions

### getAdditionalImage

```
fun getAdditionalImage(): Optional<Image!>!
```

Returns the additional image associated with the profile.  

### getAdditionalText

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

Returns the additional metadata associated with the profile. e.g. handle  

## Public properties

### avatar

```
val avatar: Image!
```  

### name

```
val name: String!
```