Package 

Class ShareContent.Builder

    • Method Summary

      Modifier and Type Method Description
      E setContentUrl(@Nullable() Uri contentUrl) Set the URL for the content being shared.
      E setPeopleIds(@Nullable() List<String> peopleIds) Set the list of Ids for taggable people to tag with this content.
      E setPlaceId(@Nullable() String placeId) Set the Id for a place to tag with this content.
      E setPageId(@Nullable() String pageId) Set the Id of the Facebook page this share is associated with.
      E setRef(@Nullable() String ref) Set the value to be added to the referrer URL when a person follows a link from this sharedcontent on feed.
      E setShareHashtag(@Nullable() ShareHashtag shareHashtag) Set the ShareHashtag for this content
      E readFrom(P content) Reads the values from a ShareModel into the builder.
      • Methods inherited from class com.facebook.share.model.ShareModelBuilder

        readFrom
      • Methods inherited from class com.facebook.share.ShareBuilder

        build
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setPlaceId

         E setPlaceId(@Nullable() String placeId)

        Set the Id for a place to tag with this content.

        Parameters:
        placeId - The Id for the place to tag.
      • setPageId

         E setPageId(@Nullable() String pageId)

        Set the Id of the Facebook page this share is associated with.

        Parameters:
        pageId - The Id for the Page
      • setRef

         E setRef(@Nullable() String ref)

        Set the value to be added to the referrer URL when a person follows a link from this sharedcontent on feed.

        Parameters:
        ref - The ref for the content.
      • readFrom

         E readFrom(P content)

        Reads the values from a ShareModel into the builder.