公開最終類別 PointOfInterest 可擴充物件
導入 Parcelable
導入 Parcelable
包含使用者點選的 PointOfInterest 相關資訊。
繼承常數摘要
欄位摘要
公開最終 LatLng | latLng | 搜尋點的 LatLng。 |
公開 最終字串 | name | 搜尋點的名稱。 |
公開 最終字串 | placeId | 搜尋點的 placeId。 |
公用建構函式摘要
繼承方法摘要
欄位
公開最終字串 name
搜尋點的名稱。
public 最終 String placeId
搜尋點的 placeId。
公用建構函式
public PointOfInterest (LatLng latLng, String placeId, String name)
建構 PointOfInterest
。
參數
latLng | 搜尋點的 LatLng。 |
---|---|
placeId | 搜尋點的 placeId。 |
名稱 | 搜尋點的名稱。 |