Package com.iizix.geo

Interface ILocationListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface ILocationListener
    Callback interface used in the location service ILocationService and for GeoProps.
    Christopher Mindus
    • Method Detail

      • onLocationChanged

        void onLocationChanged​(IClientSessionGyro clientGyro,
                               DeviceLocation deviceLocation)
        Called when the device location has been received or changed.

        The clientGyro parameter is always set when the location has been updated when the program is running in the foreground and that the client is a browser or the program does not support background location updates.

        clientGyro - The client session's gyro when possible to find, null otherwise.
        deviceLocation - The device location.