public class FactualPlaceAttachmentUpdate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Constructor and Description |
---|
FactualPlaceAttachmentUpdate(FactualPlaceVisit currentPlaceVisit,
FactualPlaceVisit previousPlaceVisit)
Construct a
FactualPlaceAttachmentUpdate |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
FactualPlaceVisit |
getCurrentPlaceVisit()
Gets the place the user is currently.
|
FactualPlaceVisit |
getPreviousPlaceVisit()
Gets the place the user was previously.
|
JSONObject |
toJson()
Returns the
FactualPlaceAttachmentUpdate as json. |
void |
writeToParcel(Parcel out,
int flags) |
public FactualPlaceAttachmentUpdate(FactualPlaceVisit currentPlaceVisit, FactualPlaceVisit previousPlaceVisit)
FactualPlaceAttachmentUpdate
currentPlaceVisit
- The place the user is currently.previousPlaceVisit
- The place the user was previously.public FactualPlaceVisit getCurrentPlaceVisit()
public FactualPlaceVisit getPreviousPlaceVisit()
public JSONObject toJson() throws JSONException
FactualPlaceAttachmentUpdate
as json.FactualPlaceAttachmentUpdate
as json.JSONException
- If an error occurred creating the json.public int describeContents()
public void writeToParcel(Parcel out, int flags)