Package com.baidu.mapapi.search.share
Class ShareUrlResult
java.lang.Object
com.baidu.mapapi.search.core.SearchResult
com.baidu.mapapi.search.share.ShareUrlResult
- All Implemented Interfaces:
android.os.Parcelable
共享URL结果 (短串)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.baidu.mapapi.search.core.SearchResult
SearchResult.ERRORNO -
Field Summary
FieldsFields inherited from class com.baidu.mapapi.search.core.SearchResult
customExtra, error, statusFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetUrl()获取共享URLvoidsetType(int type) voidvoidwriteToParcel(android.os.Parcel dest, int flags) Methods inherited from class com.baidu.mapapi.search.core.SearchResult
getCustomExtra, setCustomExtra
-
Field Details
-
CREATOR
-
-
Constructor Details
-
ShareUrlResult
public ShareUrlResult() -
ShareUrlResult
protected ShareUrlResult(android.os.Parcel in)
-
-
Method Details
-
getUrl
获取共享URL- Returns:
- 共享URL
-
setUrl
-
setType
public void setType(int type) -
describeContents
public int describeContents()- Specified by:
describeContentsin interfaceandroid.os.Parcelable- Overrides:
describeContentsin classSearchResult
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcelin interfaceandroid.os.Parcelable- Overrides:
writeToParcelin classSearchResult
-