PortraitMediaEntity

class PortraitMediaEntity : Entity


An object representing a PortraitMedia entity.

Summary

Nested types

Builder class for PortraitMediaEntity.

Public functions

Uri!

Returns the action link uri of the social entity.

(Mutable)List<DisplayTimeWindow!>!

Returns the display time window associated with the social entity.

Optional<String!>!

Returns the id of the entity.

Optional<Interaction!>!

Returns the interaction metadata for the portrait media entity.

Optional<Profile!>!

Returns the profile metadata for the portrait media entity.

Public functions

getActionLinkUri

fun getActionLinkUri(): Uri!

Returns the action link uri of the social entity.

getDisplayTimeWindows

fun getDisplayTimeWindows(): (Mutable)List<DisplayTimeWindow!>!

Returns the display time window associated with the social entity.

This can be used for several use cases like offer expiry time window, preorder availability time window.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getInteraction

fun getInteraction(): Optional<Interaction!>!

Returns the interaction metadata for the portrait media entity.

getProfile

fun getProfile(): Optional<Profile!>!

Returns the profile metadata for the portrait media entity.

Public properties

interactions

val interactionsImmutableList<Interaction!>!

portraitMediaPost

val portraitMediaPostPortraitMediaPost!