Would you like to tell us how we are doing?

You bet No thanks
qnx.sensors.LocationManager

LocationManager

Methods


Packageqnx.sensors
Classpublic class LocationManager
InheritanceLocationManager Inheritance Object

The LocationManager provides location based API's.

Class information:
BlackBerry 10 Version:   10.0.0



Public Methods

 MethodDefined By
  
getGeomagneticField(longitude:Number, latitude:Number, altitude:Number, time:Number = 0):GeomagneticField
[static] Returns a GeomagneticField instance based on a specific location.
LocationManager

Method Detail

getGeomagneticField()


public static function getGeomagneticField(longitude:Number, latitude:Number, altitude:Number, time:Number = 0):GeomagneticField

Returns a GeomagneticField instance based on a specific location.

To retrieve the current location, use the flash.sensors.Geolocation class provided by the AIR Runtime.



BlackBerry 10 Version: 

Parameters

longitude:Number — The longitude of the location.
latitude:Number — The latitude of the location.
altitude:Number — The altitude of the location.
time:Number (default = 0) — The time for which to get the Geomagnetic data for. By default this will use the current time.

Returns

GeomagneticField