Package | com.distriqt.extension.facebook.share.model |
Class | public class SharePhotoContentBuilder |
Inheritance | SharePhotoContentBuilder Object |
Method | Defined By | ||
---|---|---|---|
Constructor
| SharePhotoContentBuilder | ||
addBitmap(bitmap:BitmapData):SharePhotoContentBuilder
Adds a photo to the content using the bitmap representation
| SharePhotoContentBuilder | ||
addImageFile(file:File):SharePhotoContentBuilder
Adds a photo to the content using the specified image file
| SharePhotoContentBuilder | ||
build():Object
Builds the object for sharing using ShareDialog.show
| SharePhotoContentBuilder | ||
setContentUrl(contentUrl:String):SharePhotoContentBuilder
Set the URL for the content being shared. | SharePhotoContentBuilder | ||
setPeopleIds(peopleIds:Array):SharePhotoContentBuilder
Set the list of Ids for taggable people to tag with this content
| SharePhotoContentBuilder | ||
setPlaceId(placeId:String):SharePhotoContentBuilder
Set the Id for a place to tag with this content
| SharePhotoContentBuilder | ||
setRef(ref:String):SharePhotoContentBuilder
Set the value to be added to the referrer URL when a person follows a link from this shared content on feed. | SharePhotoContentBuilder | ||
setShareHashtag(shareHashTag:String):SharePhotoContentBuilder
Set the ShareHashtag for this content
| SharePhotoContentBuilder |
Constant | Defined By | ||
---|---|---|---|
TYPE : String = photo_content [static]
The type content contained in this builder
| SharePhotoContentBuilder |
SharePhotoContentBuilder | () | Constructor |
public function SharePhotoContentBuilder()
Constructor
addBitmap | () | method |
public function addBitmap(bitmap:BitmapData):SharePhotoContentBuilder
Adds a photo to the content using the bitmap representation
Parameters
bitmap:BitmapData — Bitmap representation of the photo
|
SharePhotoContentBuilder — SharePhotoContentBuilder instance for chaining calls
|
addImageFile | () | method |
public function addImageFile(file:File):SharePhotoContentBuilder
Adds a photo to the content using the specified image file
Parameters
file:File — File reference of the image to share
|
SharePhotoContentBuilder — SharePhotoContentBuilder instance for chaining calls
|
build | () | method |
public function build():Object
Builds the object for sharing using ShareDialog.show
Object — The content Object
|
See also
setContentUrl | () | method |
public function setContentUrl(contentUrl:String):SharePhotoContentBuilder
Set the URL for the content being shared.
Parameters
contentUrl:String — The url of the content link
|
SharePhotoContentBuilder — SharePhotoContentBuilder instance for chaining calls
|
setPeopleIds | () | method |
public function setPeopleIds(peopleIds:Array):SharePhotoContentBuilder
Set the list of Ids for taggable people to tag with this content
Parameters
peopleIds:Array — Array of Ids for people to tag
|
SharePhotoContentBuilder — SharePhotoContentBuilder instance for chaining calls
|
setPlaceId | () | method |
public function setPlaceId(placeId:String):SharePhotoContentBuilder
Set the Id for a place to tag with this content
Parameters
placeId:String — The Id for the place to tag
|
SharePhotoContentBuilder — SharePhotoContentBuilder instance for chaining calls
|
setRef | () | method |
public function setRef(ref:String):SharePhotoContentBuilder
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
|
SharePhotoContentBuilder — SharePhotoContentBuilder instance for chaining calls
|
setShareHashtag | () | method |
public function setShareHashtag(shareHashTag:String):SharePhotoContentBuilder
Set the ShareHashtag for this content
Parameters
shareHashTag:String — The hashtag for this content
|
SharePhotoContentBuilder — SharePhotoContentBuilder instance for chaining calls
|
TYPE | Constant |
public static const TYPE:String = photo_content
The type content contained in this builder