Page tree
Skip to end of metadata
Go to start of metadata

getLocation()

Supported in iOS Supported in Android

Description

Get the current Geo location.


Usage

Get the device Geo location(<latitude>, <longitude>, <altitude>).

String[] location = client.getLocation().split(",");
String latitude = location[0];
String longitude = location[1];
String altitude = location[2];



Code Examples

Java Example
 String location = client.getLocation();
  • No labels