目录

PointOfInterest

Class Info

public class PointOfInterest

包含了被点击的POI属性的对象。

Public Field Summary

Qualifier and Type

Field and Description

LatLng

latLng

POI的位置。

String

name

POI的name。

String

placeId

POI的placeId。

Public Constructor Summary

Constructor Name

PointOfInterest(LatLng latLng, String placeId, String name)

使用给定参数创建PointOfInterest对象。

Public Method Summary

Qualifier and Type

Method Name and Description

void

writeToParcel(Parcel out, int flags)

对数据进行序列化操作。

Public Constructors

[h2]PointOfInterest

Constructor

public PointOfInterest(LatLng latLng, String placeId, String name)

使用给定参数创建PointOfInterest对象。

Parameters

Name

Description

latLng

POI的位置。

placeId

POI的placeId。

name

POI的name。