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.

Author
peter

Definition at line 39 of file ArvosLocationListener.java.

Constructor & Destructor Documentation

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

Creates a new listener.

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

Definition at line 53 of file ArvosLocationListener.java.

Member Function Documentation

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

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

Parameters
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 ArvosLocationListener.java.

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

Definition at line 95 of file ArvosLocationListener.java.

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

Definition at line 66 of file ArvosLocationListener.java.

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

Definition at line 126 of file ArvosLocationListener.java.

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

Definition at line 132 of file ArvosLocationListener.java.

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

Definition at line 61 of file ArvosLocationListener.java.

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

Definition at line 138 of file ArvosLocationListener.java.


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