Package 

Class LocationImpl

  • All Implemented Interfaces:
    com.kaspersky.kaspresso.device.location.Location

    
    public final class LocationImpl
     implements Location
                        

    The implementation of the Location interface.

    • Method Summary

      Modifier and Type Method Description
      Unit enableGps() Enables GPS on the device.
      Unit disableGps() Disables GPS on the device.
      Unit setLocation(Double lat, Double lon) Sets current location.
      • Methods inherited from class com.kaspersky.kaspresso.device.location.Location

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocationImpl

        LocationImpl(AdbServer adbServer)
    • Method Detail

      • enableGps

         Unit enableGps()

        Enables GPS on the device.

        Required Permissions: INTERNET

      • disableGps

         Unit disableGps()

        Disables GPS on the device.

        Required Permissions: INTERNET