@FunctionalInterface public interface ILocationListener
ILocationService
and for GeoProps
.Modifier and Type | Method and Description |
---|---|
void |
onLocationChanged(IClientSessionGyro clientGyro,
DeviceLocation deviceLocation)
Called when the device location has been received or changed.
|
void onLocationChanged(IClientSessionGyro clientGyro, DeviceLocation deviceLocation)
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.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.