public abstract static class ShareContent.Builder<P extends ShareContent,E extends ShareContent.Builder> extends java.lang.Object implements ShareModelBuilder<P,E>
ShareContent| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
E |
readFrom(P content)
Reads the values from a ShareModel into the builder.
|
E |
setContentUrl(android.net.Uri contentUrl)
Set the URL for the content being shared.
|
E |
setPageId(java.lang.String pageId)
Set the Id of the Facebook page this share is associated with.
|
E |
setPeopleIds(java.util.List<java.lang.String> peopleIds)
Set the list of Ids for taggable people to tag with this content.
|
E |
setPlaceId(java.lang.String placeId)
Set the Id for a place to tag with this content.
|
E |
setRef(java.lang.String ref)
Set the value to be added to the referrer URL when a person follows a link from this shared
content on feed.
|
E |
setShareHashtag(ShareHashtag shareHashtag)
Set the ShareHashtag for this content
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildpublic E setContentUrl(@Nullable android.net.Uri contentUrl)
contentUrl - Uri representation of the content link.public E setPeopleIds(@Nullable java.util.List<java.lang.String> peopleIds)
peopleIds - List of Ids for people to tag.public E setPlaceId(@Nullable java.lang.String placeId)
placeId - The Id for the place to tag.public E setPageId(@Nullable java.lang.String pageId)
pageId - The Id for the Pagepublic E setRef(@Nullable java.lang.String ref)
ref - The ref for the content.public E setShareHashtag(@Nullable ShareHashtag shareHashtag)
shareHashtag - The hashtag for this contentpublic E readFrom(P content)
ShareModelBuilderreadFrom in interface ShareModelBuilder<P extends ShareContent,E extends ShareContent.Builder>content - The source ShareModel