Interface WPSCertifiedLocationCallback


  • public interface WPSCertifiedLocationCallback
    • Method Detail

      • handleWPSCertifiedLocation

        WPSContinuation handleWPSCertifiedLocation​(WPSLocation[] locations)
        Called when a location is determined. No WPS methods may be called from this method.
        Parameters:
        locations - array of locations
        Returns:
        WPS_STOP to stop further location determination efforts, or WPS_CONTINUE.
      • done

        void done()
        Called when WPS is ready for further requests. No WPS methods may be called until after this method returns, once a WPS method which uses a callback has been called. In other words, only one WPS operation may be active at any time.
      • handleError

        WPSContinuation handleError​(WPSReturnCode error)
        Called when WPS encounters an error. WPS_STOP should be returned to signal that the current operation should stop. WPS_CONTINUE should be returned to signal that the current operation should continue. In some circumstances WPS may choose to stop even though WPS_CONTINUE was returned.
        Parameters:
        error - error code