Android SDK Version
All Implemented Interfaces:
com.facebook.share.ShareBuilder , com.facebook.share.model.ShareModelBuilder


public abstract class ShareContent.Builder<P extends ShareContent, E extends ShareContent.Builder>
 implements ShareModelBuilder<P, E>
                    
Field Summary
Modifier and TypeFieldDescription
private UricontentUrl
private List<String>peopleIds
private StringplaceId
private StringpageId
private Stringref
Method Summary
Modifier and TypeMethodDescription
EsetContentUrl(@Nullable() Uri contentUrl) Set the URL for the content being shared.
EsetPeopleIds(@Nullable() List<String> peopleIds) Set the list of Ids for taggable people to tag with this content.
EsetPlaceId(@Nullable() String placeId) Set the Id for a place to tag with this content.
EsetPageId(@Nullable() String pageId) Set the Id of the Facebook page this share is associated with.
EsetRef(@Nullable() String ref) Set the value to be added to the referrer URL when a person follows a link from this sharedcontent on feed.
EsetShareHashtag(@Nullable() ShareHashtag shareHashtag) Set the ShareHashtag for this content
EreadFrom(P content)
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

setContentUrl

EsetContentUrl(@Nullable() Uri contentUrl)
Set the URL for the content being shared.
Parameters:
contentUrl - android.net.Uri representation of the content link.

setPeopleIds

EsetPeopleIds(@Nullable() List<String> peopleIds)
Set the list of Ids for taggable people to tag with this content.
Parameters:
peopleIds - java.util.List of Ids for people to tag.

setPlaceId

EsetPlaceId(@Nullable() String placeId)
Set the Id for a place to tag with this content.
Parameters:
placeId - The Id for the place to tag.

setPageId

EsetPageId(@Nullable() String pageId)
Set the Id of the Facebook page this share is associated with.
Parameters:
pageId - The Id for the Page

setRef

EsetRef(@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.

setShareHashtag

EsetShareHashtag(@Nullable() ShareHashtag shareHashtag)
Set the ShareHashtag for this content
Parameters:
shareHashtag - The hashtag for this content

readFrom

EreadFrom(P content)