javax.microedition.location
Interface LandmarkStoreListener


public interface LandmarkStoreListener

This interface represents a listener that receives events associated with changes in the landmark store. An application implements this interface and registers it with LandmarkStore.addLandmarkStoreListener method to obtain notifications about changes in the landmark store.

Since:
2.0

Method Summary
 void landmarkStoreUpdated(java.lang.String storeName)
          Called by the API implementation when there is a change of any kind in the specified landmark store.
 

Method Detail

landmarkStoreUpdated

void landmarkStoreUpdated(java.lang.String storeName)

Called by the API implementation when there is a change of any kind in the specified landmark store. This means that this notification is sent to the registered application when LandmarkStore.addLandmark, LandmarkStore.deleteLandmark or LandmarkStore.updateLandmark method is called successfully. If there are changes in the default landmark store, the storeName parameter is null.

The store name must be returned in a form that is directly usable as input to getInstance and deleteLandmarkStore methods.

Parameters:
storeName - the landmark store that has been changed, null if changes were in the default landmark store


Copyright © 2003-2008 Nokia Corporation. All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.