public class LocationValidatorClient extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static interface |
LocationValidatorClient.InnerClient |
static class |
LocationValidatorClient.LocationType |
Modifier and Type | Method and Description |
---|---|
void |
awaitOK() |
void |
close() |
String |
getPartnerId() |
String |
getPath() |
SyncState |
getSyncState() |
static LocationValidatorClient |
newClient(String organizationId,
String apiKey,
String secretKey,
String path) |
LocationValidatorClient.LocationType |
validateLocation(double latitude,
double longitude) |
public static LocationValidatorClient newClient(String organizationId, String apiKey, String secretKey, String path) throws IllegalArgumentException
IllegalArgumentException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public LocationValidatorClient.LocationType validateLocation(double latitude, double longitude)
public SyncState getSyncState()
public void awaitOK() throws InterruptedException
InterruptedException
public String getPartnerId()
public String getPath()