|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.twitter.api.StatusDetails
public class StatusDetails
Carries optional metadata pertaining to a Twitter status update.
Constructor Summary | |
---|---|
StatusDetails()
|
Method Summary | |
---|---|
StatusDetails |
setDisplayCoordinates(boolean displayCoordinates)
Indicates that Twitter should pinpoint the location precisely when displaying it on a map. |
StatusDetails |
setLocation(float latitude,
float longitude)
Sets the location of the status update in latitude and longitude. |
java.util.Map<java.lang.String,java.lang.Object> |
toParameterMap()
Maps the StatusDetails values to a Map of Twitter parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatusDetails()
Method Detail |
---|
public 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 java.util.Map<java.lang.String,java.lang.Object> toParameterMap()
StatusDetails
values to a Map of Twitter parameters.
Map
of parameters to be passed along in the status
update post to Twitter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |