Methods
getAccuracy() → {number}
Get the Homey's physical location's accuracy
Returns:
- Type:
- 
        
number
accuracy (in meter)
getLatitude() → {number}
Get the Homey's physical location's latitude
Returns:
- Type:
- 
        
number
latitude
getLongitude() → {number}
Get the Homey's physical location's longitude
Returns:
- Type:
- 
        
number
longitude
getMode() → {string}
Get the Homey's physical mode
Returns:
- Type:
- 
        
string
auto or manual
Events
.on('location')
Fired when the location is updated
 You are currently viewing the Homey Apps SDK v2 documentation. New apps should use Homey Apps SDK v3 ››
      You are currently viewing the Homey Apps SDK v2 documentation. New apps should use Homey Apps SDK v3 ››