FileDocCategorySizeDatePackage
GpsMeasurementListenerTransport.javaAPI DocAndroid 5.1 API2761Thu Mar 12 22:22:30 GMT 2015android.location

GpsMeasurementListenerTransport

public class GpsMeasurementListenerTransport extends LocalListenerHelper
A handler class to manage transport listeners for {@link GpsMeasurementsEvent.Listener}.
hide

Fields Summary
private final ILocationManager
mLocationManager
private final IGpsMeasurementsListener
mListenerTransport
Constructors Summary
public GpsMeasurementListenerTransport(android.content.Context context, ILocationManager locationManager)


         
        super(context, "GpsMeasurementListenerTransport");
        mLocationManager = locationManager;
    
Methods Summary
protected booleanregisterWithServer()

        return mLocationManager.addGpsMeasurementsListener(
                mListenerTransport,
                getContext().getPackageName());
    
protected voidunregisterFromServer()

        mLocationManager.removeGpsMeasurementsListener(mListenerTransport);