Package com.incode.welcome_sdk.listeners
Interface GeolocationListener
-
- All Implemented Interfaces:
-
com.incode.welcome_sdk.listeners.BaseListener,com.incode.welcome_sdk.listeners.ErrorListener,com.incode.welcome_sdk.listeners.UserCancelledListener
public interface GeolocationListener implements BaseListener
Interface for getting Geolocation results after calling startGeolocation()
-
-
Method Summary
Modifier and Type Method Description abstract voidonGeolocationFetched(GeolocationResult geolocationResult)Called when the geolocation is fetched abstract voidonGeolocationUnavailable(Throwable error)Called when the user geolocation is not available -
Methods inherited from class com.incode.welcome_sdk.listeners.ErrorListener
onError -
Methods inherited from class com.incode.welcome_sdk.listeners.UserCancelledListener
onUserCancelled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onGeolocationFetched
abstract void onGeolocationFetched(GeolocationResult geolocationResult)
Called when the geolocation is fetched
- Parameters:
geolocationResult- geolocation results
-
onGeolocationUnavailable
abstract void onGeolocationUnavailable(Throwable error)
Called when the user geolocation is not available
- Parameters:
error- exception that occurred
-
-
-
-