ShareMedia
有此級別的更新版本。前往查看 最新版本。

Base class for shared media (photos, videos, etc).

延伸:Object
實作ShareModel
套件:model
建構函式
ShareMedia(Builder)
protected ShareMedia(Builder builder)
參數說明
builder
執行個體方法
getParameters()
public Bundle getParameters()
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 dest, int flags)
參數說明
dest
flags
getMediaType()
public abstract Type getMediaType()