Package com.baidu.mapapi.search.core
Class PoiChildrenInfo
java.lang.Object
com.baidu.mapapi.search.core.PoiChildrenInfo
- All Implemented Interfaces:
android.os.Parcelable
CopyRight Baidu
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint获取POI子点的地址获取POI子点的坐标getName()获取POI子点的名称获取POI子点的简称getTag()获取POI子点的类别getUid()获取POI子点的UIDvoidsetAddress(String address) 设置POI子点的地址voidsetLocation(LatLng location) 设置POI子点的坐标void设置POI子点的名称voidsetShowName(String showName) 设置POI子点的简称void设置POI子点的类别void设置POI子点的UIDtoString()各个字段以字符串形式展示voidwriteToParcel(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Constructor Details
-
PoiChildrenInfo
public PoiChildrenInfo() -
PoiChildrenInfo
protected PoiChildrenInfo(android.os.Parcel in)
-
-
Method Details
-
getUid
获取POI子点的UID- Returns:
- POI子点的UID
-
setUid
设置POI子点的UID- Parameters:
uid- POI子点的UID
-
getName
获取POI子点的名称- Returns:
- POI子点的名称
-
setName
设置POI子点的名称- Parameters:
name- POI子点的名称
-
getShowName
获取POI子点的简称- Returns:
- POI子点的简称
-
setShowName
设置POI子点的简称- Parameters:
showName- POI子点的简称
-
getTag
获取POI子点的类别- Returns:
- POI子点的类别
-
setTag
设置POI子点的类别- Parameters:
tag- POI子点的类别
-
getLocation
获取POI子点的坐标- Returns:
- POI子点的坐标
-
setLocation
设置POI子点的坐标- Parameters:
location- POI子点的坐标
-
getAddress
获取POI子点的地址- Returns:
- POI子点的地址
-
setAddress
设置POI子点的地址- Parameters:
address- POI子点的地址
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
describeContents
public int describeContents()- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
toString
各个字段以字符串形式展示
-