Static Public Member Functions

MoLocation Class Reference

Location stuff, GPS/Edge/Wifi + Compass (static class). More...

#import <mo_location.h>

List of all members.

Static Public Member Functions

(static void) + addCallback
 register a callback to be invoked on subsequent updates
(static void) + removeCallback
 unregister a callback
(static CLLocation *) + getLocation
 get the newest location
(static CLLocation *) + getOldLocation
 get the previous location
(static void) + update
 [Internal/Do Not Use] setting values

Detailed Description

Location stuff, GPS/Edge/Wifi + Compass (static class).

Sample Code:

MoAccel::addCallback( locationCallback, NULL );


Member Function Documentation

+ (void) addCallback (const MoLocationCallback &)  callback
(void *)  data 

register a callback to be invoked on subsequent updates

+ (CLLocation *) getLocation  

get the newest location

+ (CLLocation *) getOldLocation  

get the previous location

+ (void) removeCallback (const MoLocationCallback &)  callback  

unregister a callback

+ (void) update (CLLocation *)  newLoc
(CLLocation *)  oldLoc 

[Internal/Do Not Use] setting values


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines