ArViewer  Android Version
Arvos - Augmented reality viewer open source
 All Classes Namespaces Files Functions Variables
Public Member Functions | Protected Member Functions | List of all members
com.mission_base.arviewer_android.ArvosLocationListener Class Reference
Inheritance diagram for com.mission_base.arviewer_android.ArvosLocationListener:

Public Member Functions

 ArvosLocationListener (LocationManager locationManager, IArvosLocationReceiver receiver)
void onResume ()
void onPause ()
void onLocationChanged (Location location)
void onProviderDisabled (String provider)
void onProviderEnabled (String provider)
void onStatusChanged (String provider, int status, Bundle extras)

Protected Member Functions

boolean isBetterLocation (Location location, Location currentBestLocation)

Detailed Description

Listens for location updates from the LocationManager.


Definition at line 39 of file

Constructor & Destructor Documentation

com.mission_base.arviewer_android.ArvosLocationListener.ArvosLocationListener ( LocationManager  locationManager,
IArvosLocationReceiver  receiver 

Creates a new listener.

locationManagerThe location manager to listen to.
receiverThe receiver of the location updates.

Definition at line 53 of file

Member Function Documentation

boolean com.mission_base.arviewer_android.ArvosLocationListener.isBetterLocation ( Location  location,
Location  currentBestLocation 

Determines whether one Location reading is better than the current Location fix

locationThe new Location that you want to evaluate
currentBestLocationThe current Location fix, to which you want to compare the new one

Definition at line 166 of file

void com.mission_base.arviewer_android.ArvosLocationListener.onLocationChanged ( Location  location)

Definition at line 95 of file

void com.mission_base.arviewer_android.ArvosLocationListener.onPause ( )

Definition at line 66 of file

void com.mission_base.arviewer_android.ArvosLocationListener.onProviderDisabled ( String  provider)

Definition at line 126 of file

void com.mission_base.arviewer_android.ArvosLocationListener.onProviderEnabled ( String  provider)

Definition at line 132 of file

void com.mission_base.arviewer_android.ArvosLocationListener.onResume ( )

Definition at line 61 of file

void com.mission_base.arviewer_android.ArvosLocationListener.onStatusChanged ( String  provider,
int  status,
Bundle  extras 

Definition at line 138 of file

The documentation for this class was generated from the following file: