public class MapsGeofenceGeometry extends Object
| Constructor and Description |
|---|
MapsGeofenceGeometry() |
| Modifier and Type | Method and Description |
|---|---|
String |
deviceId()
Get iD of the device.
|
Double |
distance()
Get distance from the coordinate to the closest border of the geofence.
|
String |
geometryId()
Get the unique ID for the geofence geometry.
|
Double |
nearestLat()
Get latitude of the nearest point of the geometry.
|
Double |
nearestLon()
Get longitude of the nearest point of the geometry.
|
String |
udId()
Get the unique id returned from user upload service when uploading a geofence.
|
MapsGeofenceGeometry |
withDeviceId(String deviceId)
Set iD of the device.
|
MapsGeofenceGeometry |
withDistance(Double distance)
Set distance from the coordinate to the closest border of the geofence.
|
MapsGeofenceGeometry |
withGeometryId(String geometryId)
Set the unique ID for the geofence geometry.
|
MapsGeofenceGeometry |
withNearestLat(Double nearestLat)
Set latitude of the nearest point of the geometry.
|
MapsGeofenceGeometry |
withNearestLon(Double nearestLon)
Set longitude of the nearest point of the geometry.
|
MapsGeofenceGeometry |
withUdId(String udId)
Set the unique id returned from user upload service when uploading a geofence.
|
public String deviceId()
public MapsGeofenceGeometry withDeviceId(String deviceId)
deviceId - the deviceId value to setpublic Double distance()
public MapsGeofenceGeometry withDistance(Double distance)
distance - the distance value to setpublic String geometryId()
public MapsGeofenceGeometry withGeometryId(String geometryId)
geometryId - the geometryId value to setpublic Double nearestLat()
public MapsGeofenceGeometry withNearestLat(Double nearestLat)
nearestLat - the nearestLat value to setpublic Double nearestLon()
public MapsGeofenceGeometry withNearestLon(Double nearestLon)
nearestLon - the nearestLon value to setpublic String udId()
public MapsGeofenceGeometry withUdId(String udId)
udId - the udId value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/