Class Info |
|---|
public class PointOfInterest 包含了被点击的POI属性的对象。 |
Qualifier and Type | Field and Description |
|---|---|
latLng POI的位置。 | |
String | name POI的name。 |
String | placeId POI的placeId。 |
Constructor Name |
|---|
PointOfInterest(LatLng latLng, String placeId, String name) 使用给定参数创建PointOfInterest对象。 |
Qualifier and Type | Method Name and Description |
|---|---|
void | writeToParcel(Parcel out, int flags) 对数据进行序列化操作。 |
Constructor |
|---|
public PointOfInterest(LatLng latLng, String placeId, String name) 使用给定参数创建PointOfInterest对象。 |
Parameters
Name | Description |
|---|---|
latLng | POI的位置。 |
placeId | POI的placeId。 |
name | POI的name。 |