Class: Appium::Location
- Inherits:
-
Struct
- Object
- Struct
- Appium::Location
- Defined in:
- lib/appium_lib_core/driver.rb,
sig/lib/appium_lib_core/driver.rbs
Overview
Struct for device location
Instance Attribute Summary collapse
-
#altitude ⇒ Object
Returns the value of attribute altitude.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
Instance Method Summary collapse
-
#initialize ⇒ Location
constructor
A new instance of Location.
Constructor Details
#initialize ⇒ Location
Returns a new instance of Location.
10 |
# File 'sig/lib/appium_lib_core/driver.rbs', line 10
def initialize: (Float | Integer | String latitude, Float | Integer | String longitude, Float | Integer | String altitude) -> void
|
Instance Attribute Details
#altitude ⇒ Object
Returns the value of attribute altitude
22 23 24 |
# File 'lib/appium_lib_core/driver.rb', line 22 def altitude @altitude end |
#latitude ⇒ Object
Returns the value of attribute latitude
22 23 24 |
# File 'lib/appium_lib_core/driver.rb', line 22 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude
22 23 24 |
# File 'lib/appium_lib_core/driver.rb', line 22 def longitude @longitude end |