| |
|
| java.lang.Object com.sun.j2me.location.StubProximityListener
StubProximityListener | public class StubProximityListener implements ProximityListener(Code) | | This class contains the simplified code for testing the JSR179
implementation.
|
getCurrLocation | public Location getCurrLocation()(Code) | | Return the current location.
current location |
getCurrMonitorState | public boolean getCurrMonitorState()(Code) | | Return the current monitor state.
current monitor state |
monitoringStateChanged | public void monitoringStateChanged(boolean isMonitoringActive)(Code) | | monitoringStateChanged implementation.
Parameters: isMonitoringActive - a boolean indicating the new state of the proximity monitoring |
proximityEvent | public void proximityEvent(Coordinates coordinates, Location location)(Code) | | proximityEvent implementation.
Parameters: coordinates - the registered coordinates to which proximity has been detected. Parameters: location - the current location of the terminal |
setCurrLocation | public void setCurrLocation(Location newLocation)(Code) | | Sets the current location.
Parameters: newLocation - new location for setting |
setCurrMonitorState | public void setCurrMonitorState(boolean newState)(Code) | | Sets the current monitor state.
Parameters: newState - new location for setting |
|
|
|