ShareContent
このクラスには新しいバージョンがあります。ご確認ください。 最新バージョン

Provides the base class for content to be shared. Contains all common methods for the different types of content.

拡張:Object
実装:ShareModel
パッケージ:model
コンストラクター
ShareContent(Builder)
protected ShareContent(Builder builder)
パラメーター説明
builder
インスタンスメソッド
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 App Links.

public Uri getContentUrl()
Returns
<a href='Uri'>Uri</a> representation of the content link.
getPeopleIds()

List of Ids for taggable people to tag with this content.

See documentation for

Taggable Friends.

public List getPeopleIds()
Returns
<a href='List'>List</a> of Ids for people to tag.
getPlaceId()

The Id for a place to tag with this content.

public String getPlaceId()
Returns
The Id for the place to tag.
getRef()

A value to be added to the referrer URL when a person follows a link from this shared content on feed.

public String getRef()
Returns
The ref for the content.
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.
describeContents()
public int describeContents()
writeToParcel(Parcel, int)

Flatten this object in to a Parcel.

public void writeToParcel(Parcel dest, int flags)
パラメーター説明
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.
writeToParcel(Parcel, int)
public void writeToParcel(Parcel out, int flags)
パラメーター説明
out
flags