-
- All Implemented Interfaces:
-
com.kaspersky.kaspresso.device.location.Location
public final class LocationImpl implements Location
The implementation of the Location interface.
-
-
Constructor Summary
Constructors Constructor Description LocationImpl(AdbServer adbServer)
-
Method Summary
Modifier and Type Method Description UnitenableGps()Enables GPS on the device. UnitdisableGps()Disables GPS on the device. UnitsetLocation(Double lat, Double lon)Sets current location. -
-
Constructor Detail
-
LocationImpl
LocationImpl(AdbServer adbServer)
-
-
Method Detail
-
disableGps
Unit disableGps()
Disables GPS on the device.
Required Permissions: INTERNET
-
setLocation
Unit setLocation(Double lat, Double lon)
Sets current location.
Required Permissions: INTERNET
-
-
-
-