PortraitMediaPost


public final class PortraitMediaPost


An object representing a portrait media social media post.

Summary

Nested types

public final class PortraitMediaPost.Builder

Builder class for PortraitMediaPost.

Public fields

final boolean

Public methods

Optional<String>

Indicate the text content for the post.

Optional<Long>
Optional<Long>

Indicate the duration of the video content in milliseconds.

List<Image>

Indicate the image content for the post.

boolean

Indicate the post has a video content.

Public fields

isVideoContent

public final boolean isVideoContent

Public methods

getTextContent

public Optional<StringgetTextContent()

Indicate the text content for the post.

getTimestamp

public Optional<LonggetTimestamp()

getVideoDurationMillis

public Optional<LonggetVideoDurationMillis()

Indicate the duration of the video content in milliseconds.

getVisualContent

public List<ImagegetVisualContent()

Indicate the image content for the post.

isVideoContent

public boolean isVideoContent()

Indicate the post has a video content.