PersonEntity

class PersonEntity : Entity


An object representing a Person Entity.

Summary

Nested types

Builder class for PersonEntity.

@IntDef(value = [EligibleContentCategory.TYPE_SPORTS, EligibleContentCategory.TYPE_HOME_AND_AUTO, EligibleContentCategory.TYPE_HEALTH_AND_FITNESS, EligibleContentCategory.TYPE_DATING])
@Retention(value = RetentionPolicy.SOURCE)
annotation PersonEntity.EligibleContentCategory

Content category of the person entity.

Public functions

Uri!

Returns the action link uri of the person entity.

(Mutable)List<Badge!>!

Returns the list of badges (image/text) for the person entity e.g. “Top pro”, etc.

(Mutable)List<Int!>!

Returns content categories of the person entity.

Optional<String!>!

Returns the description (typically a single paragraph of text) for the person entity.

Optional<String!>!

Returns the id of the entity.

Optional<Image!>!

Returns the header image of the person entity.

Optional<Address!>!

Returns the location/address of the person entity.

Optional<Popularity!>!

Returns the popularity for the person entity e.g. # followers, # reviews, # likes (emoji), etc.

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Rating!>!

Returns the rating of the person entity.

(Mutable)List<String!>!

Returns the list of subtitles for the person entity e.g. “Responds in about 3 hours”, etc.

Public properties

Profile!

Public functions

getActionLinkUri

fun getActionLinkUri(): Uri!

Returns the action link uri of the person entity.

getBadgeList

fun getBadgeList(): (Mutable)List<Badge!>!

Returns the list of badges (image/text) for the person entity e.g. “Top pro”, etc.

getContentCategoryList

fun getContentCategoryList(): (Mutable)List<Int!>!

Returns content categories of the person entity.

getDescription

fun getDescription(): Optional<String!>!

Returns the description (typically a single paragraph of text) for the person entity.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getHeaderImage

fun getHeaderImage(): Optional<Image!>!

Returns the header image of the person entity.

getLocation

fun getLocation(): Optional<Address!>!

Returns the location/address of the person entity.

getPopularity

fun getPopularity(): Optional<Popularity!>!

Returns the popularity for the person entity e.g. # followers, # reviews, # likes (emoji), etc.

getPosterImages

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

Returns the poster image of the entity.

getRating

fun getRating(): Optional<Rating!>!

Returns the rating of the person entity.

getSubtitleList

fun getSubtitleList(): (Mutable)List<String!>!

Returns the list of subtitles for the person entity e.g. “Responds in about 3 hours”, etc.

Public properties

profile

val profileProfile!