Packagecom.distriqt.extension.facebook.share.model
Classpublic class SharePhotoContentBuilder
InheritanceSharePhotoContentBuilder Inheritance Object



Public Methods
 MethodDefined By
  
Constructor
SharePhotoContentBuilder
  
Adds a photo to the content using the bitmap representation
SharePhotoContentBuilder
  
Adds a photo to the content using the specified image file
SharePhotoContentBuilder
  
build():Object
Builds the object for sharing using ShareDialog.show
SharePhotoContentBuilder
  
Set the URL for the content being shared.
SharePhotoContentBuilder
  
Set the list of Ids for taggable people to tag with this content
SharePhotoContentBuilder
  
Set the Id for a place to tag with this content
SharePhotoContentBuilder
  
Set the value to be added to the referrer URL when a person follows a link from this shared content on feed.
SharePhotoContentBuilder
  
Set the ShareHashtag for this content
SharePhotoContentBuilder
Public Constants
 ConstantDefined By
  TYPE : String = photo_content
[static] The type content contained in this builder
SharePhotoContentBuilder
Constructor Detail
SharePhotoContentBuilder()Constructor
public function SharePhotoContentBuilder()

Constructor

Method Detail
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

Returns
SharePhotoContentBuilderSharePhotoContentBuilder 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

Returns
SharePhotoContentBuilderSharePhotoContentBuilder instance for chaining calls
build()method 
public function build():Object

Builds the object for sharing using ShareDialog.show

Returns
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

Returns
SharePhotoContentBuilderSharePhotoContentBuilder 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

Returns
SharePhotoContentBuilderSharePhotoContentBuilder 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

Returns
SharePhotoContentBuilderSharePhotoContentBuilder 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

Returns
SharePhotoContentBuilderSharePhotoContentBuilder 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

Returns
SharePhotoContentBuilderSharePhotoContentBuilder instance for chaining calls
Constant Detail
TYPEConstant
public static const TYPE:String = photo_content

The type content contained in this builder