- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ILocationListener
- Christopher Mindus
void onLocationChanged(IClientSessionGyro clientGyro, DeviceLocation deviceLocation)Called when the device location has been received or changed.
clientGyroparameter 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.