Class StoryAttachment

All Implemented Interfaces:
Serializable

public class StoryAttachment extends FacebookType
Since:
1.12.0
Author:
Kevin Leturc
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getDescriptionTags

      Profiles tagged in the text accompanying the attachment
      Returns:
      Profiles tagged in the text accompanying the attachment
    • addDescriptionTag

      public boolean addDescriptionTag(EntityAtTextRange entityAtTextRange)
    • removeDescriptionTag

      public boolean removeDescriptionTag(EntityAtTextRange entityAtTextRange)
    • getDescription

      Returns text accompanying the attachment.
      Returns:
      Text accompanying the attachment.
    • setDescription

      public void setDescription(String description)
      Returns text accompanying the attachment.
    • getMedia

      Returns media object (photo, link etc.) contained in the attachment.
      Returns:
      Media object (photo, link etc.) contained in the attachment.
    • setMedia

      public void setMedia(StoryAttachment.Media media)
      Returns media object (photo, link etc.) contained in the attachment.
    • getMediaType

      public String getMediaType()
      Type of the media such as (photo, video, link etc)
      Returns:
      Type of the media such as (photo, video, link etc)
    • setMediaType

      public void setMediaType(String mediaType)
      Type of the media such as (photo, video, link etc)
    • getTarget

      Returns object that the attachment links to.
      Returns:
      Object that the attachment links to.
    • setTarget

      public void setTarget(StoryAttachment.Target target)
      Returns object that the attachment links to.
    • getTitle

      public String getTitle()
      Returns title of the attachment.
      Returns:
      Title of the attachment.
    • setTitle

      public void setTitle(String title)
      Returns title of the attachment.
    • getUrl

      public String getUrl()
      Returns URL of the attachment.
      Returns:
      URL of the attachment.
    • setUrl

      public void setUrl(String url)
      Returns URL of the attachment.
    • getUnshimmedUrl

      Unshimmed URL of the attachment.
      Returns:
      Unshimmed URL of the attachment
    • setUnshimmedUrl

      public void setUnshimmedUrl(String unshimmedUrl)
      Unshimmed URL of the attachment.
    • getSubAttachments

      Returns list of subattachments that are associated with this attachment.
      Returns:
      List of subattachments that are associated with this attachment.
    • setSubAttachments

      public void setSubAttachments(StoryAttachment.Attachments subAttachments)
      Returns list of subattachments that are associated with this attachment.