public class StatusDetails extends Object
| Constructor and Description |
|---|
StatusDetails() |
| Modifier and Type | Method and Description |
|---|---|
StatusDetails |
setDisplayCoordinates(boolean displayCoordinates)
Indicates that Twitter should pinpoint the location precisely when displaying it on a map.
|
StatusDetails |
setInReplyToStatusId(long inReplyToStatusId)
Sets the ID of an existing status that this status is in reply to.
|
StatusDetails |
setLocation(float latitude,
float longitude)
Sets the location of the status update in latitude and longitude.
|
StatusDetails |
setWrapLinks(boolean wrapLinks) |
Map<String,Object> |
toParameterMap()
Maps the
StatusDetails values to a Map of Twitter parameters. |
public StatusDetails setInReplyToStatusId(long inReplyToStatusId)
inReplyToStatusId - the ID of an existing status that this status is in reply to.StatusDetails objectpublic StatusDetails setLocation(float latitude, float longitude)
latitude - The latitude element of the location. Must be between -90.0 and +90.0, where positive values are north
and negative values are south.longitude - The longitude element of the location. Must be between -180.0 and +180.0, where positive values are east
and negative values are west.StatusDetails objectpublic StatusDetails setDisplayCoordinates(boolean displayCoordinates)
displayCoordinates - If true, will pinpoint the location of the status update.StatusDetails objectpublic StatusDetails setWrapLinks(boolean wrapLinks)
public Map<String,Object> toParameterMap()
StatusDetails values to a Map of Twitter parameters.Map of parameters to be passed along in the status update post to Twitter.Copyright © 2013. All Rights Reserved.