public class GeolocationListenerImpl extends BaseListenerImpl implements IGeolocationListener
| Constructor and Description |
|---|
GeolocationListenerImpl(long id)
Constructor with listener id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(IGeolocationListenerError error)
No data received - error condition, not authorized or hardware not available.
|
void |
onResult(Geolocation geolocation)
Correct data received.
|
void |
onWarning(Geolocation geolocation,
IGeolocationListenerWarning warning)
Data received with warning - ie.
|
getAPIGroup, getAPIVersion, getId, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdgetAPIGroup, getAPIVersionpublic GeolocationListenerImpl(long id)
id - The id of the listener.public void onError(IGeolocationListenerError error)
onError in interface IGeolocationListenererror - Type of error encountered during reading.public void onResult(Geolocation geolocation)
onResult in interface IGeolocationListenergeolocation - Geolocation Beanpublic void onWarning(Geolocation geolocation, IGeolocationListenerWarning warning)
onWarning in interface IGeolocationListenergeolocation - Geolocation Beanwarning - Type of warning encountered during reading.