writeToParcel

public void writeToParcel(Parcel dest, int flags)

Writes the class data into the provided Parcel.

Parameters

dest

The Parcel where the object is written.

flags

Additional flags on how the object is written, possibly 0 or PARCELABLE_WRITE_RETURN_VALUE.