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()

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onGeolocationFetched(GeolocationResult geolocationResult) Called when the geolocation is fetched
      abstract void onGeolocationUnavailable(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
    • Constructor Detail

    • 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