-
- All Implemented Interfaces:
-
android.os.Parcelable
,com.facebook.share.model.ShareModel
public final class ShareVideoContent extends ShareContent<ShareVideoContent, ShareVideoContent.Builder> implements ShareModel
Provides the interface for video content to be shared.
A general use builder is available in ShareVideoContent.Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ShareVideoContent.Builder
Builder for the com.facebook.share.model.ShareVideoContent interface.
public class
ShareVideoContent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final String
contentDescription
private final String
contentTitle
private final SharePhoto
previewPhoto
private final ShareVideo
video
private final Uri
contentUrl
private final List<String>
peopleIds
private final String
placeId
private final String
pageId
private final String
ref
private final ShareHashtag
shareHashtag
-
Method Summary
Modifier and Type Method Description final String
getContentDescription()
The description of the video. final String
getContentTitle()
The title to display for this video. final SharePhoto
getPreviewPhoto()
Photo to be used as a preview for the video. final ShareVideo
getVideo()
Video to be shared. final Uri
getContentUrl()
URL for the content being shared. final List<String>
getPeopleIds()
List of Ids for taggable people to tag with this content. final String
getPlaceId()
The Id for a place to tag with this content. final String
getPageId()
For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. final String
getRef()
A value to be added to the referrer URL when a person follows a link from this shared content on feed. final ShareHashtag
getShareHashtag()
Gets the ShareHashtag, if one has been set, for this content. Integer
describeContents()
Unit
writeToParcel(Parcel out, Integer flags)
-
-
Method Detail
-
getContentDescription
final String getContentDescription()
The description of the video.
-
getContentTitle
final String getContentTitle()
The title to display for this video.
-
getPreviewPhoto
final SharePhoto getPreviewPhoto()
Photo to be used as a preview for the video.
-
getVideo
final ShareVideo getVideo()
Video to be shared.
-
getContentUrl
final Uri getContentUrl()
URL for the content being shared. This URL will be checked for app link meta tags for linking in platform specific ways.
See documentation for AppLinks.
-
getPeopleIds
final List<String> getPeopleIds()
List of Ids for taggable people to tag with this content.
See documentation for Taggable Friends .
-
getPlaceId
final String getPlaceId()
The Id for a place to tag with this content.
-
getPageId
final String getPageId()
For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share.
-
getRef
final String getRef()
A value to be added to the referrer URL when a person follows a link from this shared content on feed.
-
getShareHashtag
final ShareHashtag getShareHashtag()
Gets the ShareHashtag, if one has been set, for this content.
-
describeContents
Integer describeContents()
-
writeToParcel
Unit writeToParcel(Parcel out, Integer flags)
-
-
-
-