ShareOpenGraphContent
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

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.

Mở rộng:ShareContent
Gói:model
Phương thức thực thể
getAction()

The Open Graph Action for the content.

public ShareOpenGraphAction getAction()
Returns
<a href='ShareOpenGraphAction'>ShareOpenGraphAction</a>
getPreviewPropertyName()

The property name for the primary ShareOpenGraphObject in the action.

public String getPreviewPropertyName()
Returns
The property name for the preview object.
describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public int describeContents()
Returns
A bitmask indicating the set of special object types marshalled by the Parcelable.
writeToParcel(Parcel, int)

Flatten this object in to a Parcel.

public void writeToParcel(Parcel dest, int flags)
Thông sốMô tả
destThe Parcel in which the object should be written.
flagsAdditional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
Hằng
CREATOR
public static final Creator CREATOR