-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPhotosphere.java
45 lines (36 loc) · 929 Bytes
/
Photosphere.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package com.deange.uwaterlooapi.model.poi;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
public class Photosphere
extends BasicPointOfInterest
implements
Parcelable {
@SerializedName("url")
String mUrl;
protected Photosphere(final Parcel in) {
super(in);
mUrl = in.readString();
}
@Override
public void writeToParcel(final Parcel dest, final int flags) {
super.writeToParcel(dest, flags);
dest.writeString(mUrl);
}
public static final Creator<Photosphere> CREATOR = new Creator<Photosphere>() {
@Override
public Photosphere createFromParcel(final Parcel in) {
return new Photosphere(in);
}
@Override
public Photosphere[] newArray(final int size) {
return new Photosphere[size];
}
};
/**
* The URL of the photosphere
*/
public String getUrl() {
return mUrl;
}
}