Provides the base class for content to be shared. Contains all common methods for the different types of content.
Extends: | Object |
Implements: | ShareModel |
Package: | model |
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()
getPeopleIds()
List of Ids for taggable people to tag with this content.
See documentation for
Taggable Friends.
public List getPeopleIds()
getPlaceId()
The Id for a place to tag with this content.
public String getPlaceId()
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()
describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
public int describeContents()
describeContents()
public int describeContents()
writeToParcel(Parcel, int)
Flatten this object in to a Parcel.
public void writeToParcel(Parcel dest, int flags)
Parameter | Description |
---|---|
dest | The Parcel in which the object should be written. |
flags | Additional 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)
Parameter | Description |
---|---|
out | |
flags |