PortraitMediaEntity.Builder


class PortraitMediaEntity.Builder


Builder class for PortraitMediaEntity.

Summary

Public constructors

Public functions

PortraitMediaEntity.Builder!

Adds the display time window for the social entity.

PortraitMediaEntity.Builder!

Adds the display time window for the social entity.

PortraitMediaEntity.Builder!

Adds the interactions for the portrait media entity.

PortraitMediaEntity!
PortraitMediaEntity.Builder!

Sets the action link uri for the social entity.

PortraitMediaEntity.Builder!

Sets content id of the entity.

PortraitMediaEntity.Builder!

This function is deprecated.

Use addInteractions instead.

PortraitMediaEntity.Builder!

Sets the post content for the portrait media entity.

PortraitMediaEntity.Builder!

Sets the profile for the portrait media entity.

Public constructors

Builder

Builder()

Public functions

addAllDisplayTimeWindow

@CanIgnoreReturnValue
fun addAllDisplayTimeWindow(
    displayTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): PortraitMediaEntity.Builder!

Adds the display time window for the social entity.

Optional.

addDisplayTimeWindow

@CanIgnoreReturnValue
fun addDisplayTimeWindow(displayTimeWindow: DisplayTimeWindow!): PortraitMediaEntity.Builder!

Adds the display time window for the social entity.

Optional.

addInteractions

@CanIgnoreReturnValue
fun addInteractions(interactions: (Mutable)List<Interaction!>!): PortraitMediaEntity.Builder!

Adds the interactions for the portrait media entity.

Optional.

build

fun build(): PortraitMediaEntity!

setActionLinkUri

@CanIgnoreReturnValue
fun setActionLinkUri(actionLinkUri: Uri!): PortraitMediaEntity.Builder!

Sets the action link uri for the social entity.

Required.

setEntityId

@CanIgnoreReturnValue
fun setEntityId(entityId: String!): PortraitMediaEntity.Builder!

Sets content id of the entity.

Optional.

setInteraction

@CanIgnoreReturnValue
fun setInteraction(interaction: Interaction!): PortraitMediaEntity.Builder!

Sets the interaction for the portrait media entity.

Optional.

setPortraitMediaPost

@CanIgnoreReturnValue
fun setPortraitMediaPost(portraitMediaPost: PortraitMediaPost!): PortraitMediaEntity.Builder!

Sets the post content for the portrait media entity.

Required.

setProfile

@CanIgnoreReturnValue
fun setProfile(profile: Profile!): PortraitMediaEntity.Builder!

Sets the profile for the portrait media entity.

Optional.