-
- All Implemented Interfaces:
-
android.os.Parcelable,com.facebook.share.model.ShareModel
@Deprecated() public final class ShareOpenGraphContent extends ShareContent<ShareOpenGraphContent, ShareOpenGraphContent.Builder>
Describes Open Graph content that is to be shared
Use ShareOpenGraphContent.Builder to create instances
See the documentation for Open Graph and for best practices.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classShareOpenGraphContent.BuilderBuilder for the com.facebook.share.model.ShareOpenGraphContent interface.
-
Field Summary
Fields Modifier and Type Field Description private final ShareOpenGraphActionactionprivate final StringpreviewPropertyNamepublic final static Parcelable.Creator<ShareOpenGraphContent>CREATOR
-
Method Summary
Modifier and Type Method Description ShareOpenGraphActiongetAction()The Open Graph Action for the content. StringgetPreviewPropertyName()The property name for the primary com.facebook.share.model.ShareOpenGraphObject in theaction. intdescribeContents()voidwriteToParcel(Parcel out, int flags)-
Methods inherited from class com.facebook.share.model.ShareContent
describeContents, getContentUrl, getPageId, getPeopleIds, getPlaceId, getRef, getShareHashtag, writeToParcel -
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAction
@Nullable() ShareOpenGraphAction getAction()
The Open Graph Action for the content.
-
getPreviewPropertyName
@Nullable() String getPreviewPropertyName()
The property name for the primary com.facebook.share.model.ShareOpenGraphObject in theaction.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel out, int flags)
-
-
-
-