BBjGeolocationEvent::getHeading
Description
In BBj 11.0 and higher, this method returns the current heading in degrees.
Syntax
Return Value |
Method |
double |
getHeading() |
Parameters
None.
Return Value
The "getHeadings" attribute denotess the direction of travel of the hosting device and is specified in degrees, where 0° ≤ heading < 360°, counting clockwise relative to the true north. If the implementation cannot provide heading information, the value of this attribute must be null. If the hosting device is stationary (i.e. the value of the speed attribute is 0), then the value of the heading attribute must be NaN.
Remarks
None.
Example
See Also
BBj Object Diagram for an illustration of the relationship between BBjObjects.