Skip to content

Commit 3dffb8c

Browse files
author
Victoria Lease
committed
clarify Geofence.createCircle() param ranges
This commit adds the valid ranges to the latitude/longitude parameters in Geofence.createCircle()'s javadoc. Bug: 7172696 Change-Id: Iff6e3c3723d3fd9b6393bbc827ec5755c0d034af
1 parent 6f3b20c commit 3dffb8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

location/java/android/location/Geofence.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public final class Geofence implements Parcelable {
3838
/**
3939
* Create a circular geofence (on a flat, horizontal plane).
4040
*
41-
* @param latitude latitude in degrees
42-
* @param longitude longitude in degrees
41+
* @param latitude latitude in degrees, between -90 and +90 inclusive
42+
* @param longitude longitude in degrees, between -180 and +180 inclusive
4343
* @param radius radius in meters
4444
* @return a new geofence
4545
* @throws IllegalArgumentException if any parameters are out of range

0 commit comments

Comments
 (0)