Interface IGeoLocationManagerSPI

  • All Superinterfaces:
    IGeoLocationManager
    All Known Implementing Classes:
    GeoLocationManager

    public interface IGeoLocationManagerSPI
    extends IGeoLocationManager
    Provides geo location related operations.
    Since:
    10.2.0
    Version:
    $Revision: 23534 $ $Date: 2020-01-14 13:16:30 -0300 (Tue, 14 Jan 2020) $
    • Field Detail

      • LOGGER

        static final ILogger LOGGER
        Logger.
        Since:
        10.2.0
    • Method Detail

      • init

        default void init()
        Initializes the GeoLocation Manager.
        Since:
        10.2.0
      • enable

        default void enable()
        Enable geo location service.
        Since:
        10.2.0
      • disable

        default void disable()
        Disable geo location service.
        Since:
        10.2.0
      • getGeoPointByServiceInterfaceRequest

        default ExtendedGeoPoint getGeoPointByServiceInterfaceRequest​(IServiceInterfaceRequestSPI interfaceRequestSPI)
                                                               throws UnknownHostException
        Returns the extended geo point based on the given request or null if Geolocation service is disabled or the address couldn't be found. Gets the location of remote address.
        Parameters:
        interfaceRequestSPI - the request.
        Returns:
        the extended geo point based on the given request or null if Geolocation service is disabled or the address couldn't be found.
        Throws:
        UnknownHostException
        Since:
        10.2.0