writeToParcel

public void writeToParcel(Parcel dest, int flags)

Writes the class data into the provided Parcel.

Parameters

dest

The Parcel into which the object is written.

flags

Additional flags about how the object should be written, may be 0 or PARCELABLE_WRITE_RETURN_VALUE.