add TrafficSearch provider

This commit is contained in:
unknown
2020-11-06 15:10:35 +08:00
parent 4fe076436f
commit 561155a901
23 changed files with 1079 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ public class MogoLocation implements Cloneable, Parcelable {
private String aoiName = "";
private int errCode = 0;
private String errInfo = "";
private String street = "";
private String streetNum = "";
private String description = "";
private String buildingId = "";
@@ -103,6 +104,14 @@ public class MogoLocation implements Cloneable, Parcelable {
this.errInfo = errInfo;
}
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public String getStreetNum() {
return streetNum;
}
@@ -177,6 +186,7 @@ public class MogoLocation implements Cloneable, Parcelable {
", aoiName='" + aoiName + '\'' +
", errCode=" + errCode +
", errInfo='" + errInfo + '\'' +
", street='" + street + '\'' +
", streetNum='" + streetNum + '\'' +
", description='" + description + '\'' +
", buildingId='" + buildingId + '\'' +
@@ -311,6 +321,7 @@ public class MogoLocation implements Cloneable, Parcelable {
dest.writeString( this.aoiName );
dest.writeInt( this.errCode );
dest.writeString( this.errInfo );
dest.writeString( this.street );
dest.writeString( this.streetNum );
dest.writeString( this.description );
dest.writeString( this.buildingId );
@@ -340,6 +351,7 @@ public class MogoLocation implements Cloneable, Parcelable {
this.aoiName = in.readString();
this.errCode = in.readInt();
this.errInfo = in.readString();
this.street = in.readString();
this.streetNum = in.readString();
this.description = in.readString();
this.buildingId = in.readString();