FileDocCategorySizeDatePackage
GpsNavigationMessageListenerTransport.javaAPI DocAndroid 5.1 API2927Thu Mar 12 22:22:30 GMT 2015android.location

GpsNavigationMessageListenerTransport

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

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


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

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

        mLocationManager.removeGpsNavigationMessageListener(mListenerTransport);