|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.lbs.travel.TravelTimeOptions
public final class TravelTimeOptions
Represents optional settings for a travel time estimate request. To specify
options for an estimate request, create an instance of this class, set the
desired values, and pass the instance to the appropriate
TravelTimeEstimator request method.
TravelTimeEstimator| Constructor Summary | ||
|---|---|---|
TravelTimeOptions()
Constructs an instance of this class with all properties set to their unspecified values. |
||
| Method Summary | ||
|---|---|---|
float |
getStartCourse()
Retrieves the course (also known as heading) at the starting point. |
|
float |
getStartSpeed()
Retrieves the speed at the starting point. |
|
void |
setStartCourse(float startCourse)
Sets the course (also known as heading) at the starting point. |
|
void |
setStartSpeed(float startSpeed)
Sets the speed at the starting point. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TravelTimeOptions()
| Method Detail |
|---|
public float getStartCourse()
NaN is returned.public void setStartCourse(float startCourse)
startCourse - The starting course specified in degrees [0.0, 360)
clockwise from true north. Specify Float.NaN to
indicate that the course is unknown.
IllegalArgumentException - if startCourse is out of
range.public float getStartSpeed()
Float.NaN is returned.public void setStartSpeed(float startSpeed)
startSpeed - The starting point speed expressed in meters per
second. Specify Float.NaN to indicate that the
speed is unknown.
IllegalArgumentException - If startSpeed is negative.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal