Package | com.distriqt.extension.facebookapi.share.builders |
Class | public class ShareLinkContentBuilder |
Inheritance | ShareLinkContentBuilder ![]() |
Method | Defined By | ||
---|---|---|---|
Constructor
| ShareLinkContentBuilder | ||
build():Object
Builds the object for sharing using ShareDialog.show
| ShareLinkContentBuilder | ||
setContentDescription(contentDescription:String):ShareLinkContentBuilder Deprecated: As of Facebook SDK 4.22.0 this field is deprecated and may not function as expected.
Set the contentDescription of the link. | ShareLinkContentBuilder | ||
setContentTitle(contentTitle:String):ShareLinkContentBuilder Deprecated: As of Facebook SDK 4.22.0 this field is deprecated and may not function as expected.
Set the contentTitle to display for this link. | ShareLinkContentBuilder | ||
setContentUrl(contentUrl:String):ShareLinkContentBuilder
Set the URL for the content being shared. | ShareLinkContentBuilder | ||
setImageUrl(imageUrl:String):ShareLinkContentBuilder Deprecated: As of Facebook SDK 4.22.0 this field is deprecated and may not function as expected.
Set the URL of a picture to attach to this content. | ShareLinkContentBuilder | ||
setPeopleIds(peopleIds:Array):ShareLinkContentBuilder
Set the list of Ids for taggable people to tag with this content
| ShareLinkContentBuilder | ||
setPlaceId(placeId:String):ShareLinkContentBuilder
Set the Id for a place to tag with this content
| ShareLinkContentBuilder | ||
setQuote(quote:String):ShareLinkContentBuilder
Set the quote to display for this link. | ShareLinkContentBuilder | ||
setRef(ref:String):ShareLinkContentBuilder
Set the value to be added to the referrer URL when a person follows a link from this shared content on feed. | ShareLinkContentBuilder | ||
setShareHashtag(shareHashTag:String):ShareLinkContentBuilder
Set the ShareHashtag for this content
| ShareLinkContentBuilder |
Constant | Defined By | ||
---|---|---|---|
TYPE : String = link_content [static] | ShareLinkContentBuilder |
ShareLinkContentBuilder | () | Constructor |
public function ShareLinkContentBuilder()
Constructor
build | () | method |
public function build():Object
Builds the object for sharing using ShareDialog.show
Object — The content Object
|
See also
setContentDescription | () | method |
public function setContentDescription(contentDescription:String):ShareLinkContentBuilder
Set the contentDescription of the link.
Parameters
contentDescription:String — The contentDescription of the link
|
ShareLinkContentBuilder — ShareLinkContentBuilder instance for chaining calls
|
setContentTitle | () | method |
public function setContentTitle(contentTitle:String):ShareLinkContentBuilder
Set the contentTitle to display for this link.
Parameters
contentTitle:String — The link contentTitle
|
ShareLinkContentBuilder — ShareLinkContentBuilder instance for chaining calls
|
setContentUrl | () | method |
public function setContentUrl(contentUrl:String):ShareLinkContentBuilder
Set the URL for the content being shared.
Parameters
contentUrl:String — The url of the content link
|
ShareLinkContentBuilder — ShareLinkContentBuilder instance for chaining calls
|
setImageUrl | () | method |
public function setImageUrl(imageUrl:String):ShareLinkContentBuilder
Set the URL of a picture to attach to this content.
Parameters
imageUrl:String — The network URL of an image
|
ShareLinkContentBuilder — ShareLinkContentBuilder instance for chaining calls
|
setPeopleIds | () | method |
public function setPeopleIds(peopleIds:Array):ShareLinkContentBuilder
Set the list of Ids for taggable people to tag with this content
Parameters
peopleIds:Array — Array of Ids for people to tag
|
ShareLinkContentBuilder — ShareLinkContentBuilder instance for chaining calls
|
setPlaceId | () | method |
public function setPlaceId(placeId:String):ShareLinkContentBuilder
Set the Id for a place to tag with this content
Parameters
placeId:String — The Id for the place to tag
|
ShareLinkContentBuilder — ShareLinkContentBuilder instance for chaining calls
|
setQuote | () | method |
public function setQuote(quote:String):ShareLinkContentBuilder
Set the quote to display for this link.
Parameters
quote:String — The text quoted from the link.
|
ShareLinkContentBuilder — ShareLinkContentBuilder instance for chaining calls
|
setRef | () | method |
public function setRef(ref:String):ShareLinkContentBuilder
Set the value to be added to the referrer URL when a person follows a link from this shared content on feed.
Parameters
ref:String — The ref for the content
|
ShareLinkContentBuilder — ShareLinkContentBuilder instance for chaining calls
|
setShareHashtag | () | method |
public function setShareHashtag(shareHashTag:String):ShareLinkContentBuilder
Set the ShareHashtag for this content
Parameters
shareHashTag:String — The hashtag for this content
|
ShareLinkContentBuilder — ShareLinkContentBuilder instance for chaining calls
|
TYPE | Constant |
public static const TYPE:String = link_content