code: public void addListener(Class<? extends Measurement> measurementType,
              Measurement.Listener listener) {
          Log.i(TAG, "Adding listener " + listener + " for " + measurementType);
          mNotifier.register(measurementType, listener);
      }
docs: Register to receive asynchronous updates for a specific Measurement type.
  
  A Measurement is a specific, known VehicleMessage subtype.
  
  Use this method to register an object implementing the
  Measurement.Listener interface to receive real-time updates
  whenever a new value is received for the specified measurementType.
  
  Make sure you unregister your listeners with
  VehicleManager.removeListener(...) when your activity or service closes
  and no longer requires updates.
  
  @param measurementType The class of the Measurement
  (e.g. VehicleSpeed.class) the listener was listening for
  @param listener An listener instance to receive the callback.