| Package | com.distriqt.extension.facebook.share.model |
| Class | public class ShareVideoContentBuilder |
| Inheritance | ShareVideoContentBuilder Object |
| Method | Defined By | ||
|---|---|---|---|
Constructor
| ShareVideoContentBuilder | ||
build():Object
Builds the object for sharing using ShareDialog.show
| ShareVideoContentBuilder | ||
setContentUrl(contentUrl:String):ShareVideoContentBuilder
Set the URL for the content being shared. | ShareVideoContentBuilder | ||
setPeopleIds(peopleIds:Array):ShareVideoContentBuilder
Set the list of Ids for taggable people to tag with this content
| ShareVideoContentBuilder | ||
setPlaceId(placeId:String):ShareVideoContentBuilder
Set the Id for a place to tag with this content
| ShareVideoContentBuilder | ||
setRef(ref:String):ShareVideoContentBuilder
Set the value to be added to the referrer URL when a person follows a link from this shared content on feed. | ShareVideoContentBuilder | ||
setShareHashtag(shareHashTag:String):ShareVideoContentBuilder
Set the ShareHashtag for this content
| ShareVideoContentBuilder | ||
setVideoFile(file:File):ShareVideoContentBuilder | ShareVideoContentBuilder | ||
setVideoUrl(videoUrl:String):ShareVideoContentBuilder
Sets the URL that locates the video to be shared
On iOS the Facebook SDK requires an asset url (asset-library://...). | ShareVideoContentBuilder | ||
| Constant | Defined By | ||
|---|---|---|---|
| TYPE : String = video_content [static]
The type content contained in this builder
| ShareVideoContentBuilder | ||
| ShareVideoContentBuilder | () | Constructor |
public function ShareVideoContentBuilder()Constructor
| 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):ShareVideoContentBuilderSet the URL for the content being shared.
Parameters
contentUrl:String — The url of the content link
|
ShareVideoContentBuilder — ShareVideoContentBuilder instance for chaining calls
|
| setPeopleIds | () | method |
public function setPeopleIds(peopleIds:Array):ShareVideoContentBuilderSet the list of Ids for taggable people to tag with this content
Parameters
peopleIds:Array — Array of Ids for people to tag
|
ShareVideoContentBuilder — ShareVideoContentBuilder instance for chaining calls
|
| setPlaceId | () | method |
public function setPlaceId(placeId:String):ShareVideoContentBuilderSet the Id for a place to tag with this content
Parameters
placeId:String — The Id for the place to tag
|
ShareVideoContentBuilder — ShareVideoContentBuilder instance for chaining calls
|
| setRef | () | method |
public function setRef(ref:String):ShareVideoContentBuilderSet 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
|
ShareVideoContentBuilder — ShareVideoContentBuilder instance for chaining calls
|
| setShareHashtag | () | method |
public function setShareHashtag(shareHashTag:String):ShareVideoContentBuilderSet the ShareHashtag for this content
Parameters
shareHashTag:String — The hashtag for this content
|
ShareVideoContentBuilder — ShareVideoContentBuilder instance for chaining calls
|
| setVideoFile | () | method |
public function setVideoFile(file:File):ShareVideoContentBuilderParameters
file:File |
ShareVideoContentBuilder |
| setVideoUrl | () | method |
public function setVideoUrl(videoUrl:String):ShareVideoContentBuilder
Sets the URL that locates the video to be shared
On iOS the Facebook SDK requires an asset url (asset-library://...).
You can retrieve these by using something like the CameraRollExtended ANE
to get your user to select the video.
If you provide a file url file://... or /...
this will attempt to add the video to the asset library (camera roll)
before creating the dialog.
Parameters
videoUrl:String — Uri that points to the location of the video on disk
|
ShareVideoContentBuilder — ShareVideoContentBuilder instance for chaining calls
|
| TYPE | Constant |
public static const TYPE:String = video_contentThe type content contained in this builder