diff options
author | destradaa <destradaa@google.com> | 2014-07-25 15:11:56 -0700 |
---|---|---|
committer | Daniel Estrada Alva <destradaa@google.com> | 2014-07-30 23:35:08 +0000 |
commit | f9a274c9b8578dda6afeda422bff18b1577028b9 (patch) | |
tree | ff9dbed8a193d895ca2465a50f6eb85025b0b01b /api | |
parent | 6a7d8c42890451e01ca7b4baba03d430808265bc (diff) | |
download | frameworks_base-f9a274c9b8578dda6afeda422bff18b1577028b9.zip frameworks_base-f9a274c9b8578dda6afeda422bff18b1577028b9.tar.gz frameworks_base-f9a274c9b8578dda6afeda422bff18b1577028b9.tar.bz2 |
Add support for sources in Geofencing APIs.
Support setting the source when adding geofences.
b/14117199
Surface the source when FLP geofence changes state.
b/14119200
Change-Id: I50dc40a9caee400594e1778c98e284e0db0d5e66
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt index 430b82c..1e5797a 100644 --- a/api/current.txt +++ b/api/current.txt @@ -13278,6 +13278,11 @@ package android.hardware.location { field public static final int MONITOR_CURRENTLY_AVAILABLE = 0; // 0x0 field public static final int MONITOR_CURRENTLY_UNAVAILABLE = 1; // 0x1 field public static final int MONITOR_UNSUPPORTED = 2; // 0x2 + field public static final int SOURCE_TECHNOLOGY_BLUETOOTH = 16; // 0x10 + field public static final int SOURCE_TECHNOLOGY_CELL = 8; // 0x8 + field public static final int SOURCE_TECHNOLOGY_GNSS = 1; // 0x1 + field public static final int SOURCE_TECHNOLOGY_SENSORS = 4; // 0x4 + field public static final int SOURCE_TECHNOLOGY_WIFI = 2; // 0x2 } public abstract class GeofenceHardwareCallback { @@ -13291,7 +13296,19 @@ package android.hardware.location { public abstract class GeofenceHardwareMonitorCallback { ctor public GeofenceHardwareMonitorCallback(); - method public void onMonitoringSystemChange(int, boolean, android.location.Location); + method public deprecated void onMonitoringSystemChange(int, boolean, android.location.Location); + method public void onMonitoringSystemChange(android.hardware.location.GeofenceHardwareMonitorEvent); + } + + public class GeofenceHardwareMonitorEvent implements android.os.Parcelable { + ctor public GeofenceHardwareMonitorEvent(int, int, int, android.location.Location); + method public int describeContents(); + method public android.location.Location getLocation(); + method public int getMonitoringStatus(); + method public int getMonitoringType(); + method public int getSourceTechnologies(); + method public void writeToParcel(android.os.Parcel, int); + field public static final android.os.Parcelable.Creator CREATOR; } public final class GeofenceHardwareRequest { @@ -13303,10 +13320,12 @@ package android.hardware.location { method public int getMonitorTransitions(); method public int getNotificationResponsiveness(); method public double getRadius(); + method public int getSourceTechnologies(); method public int getUnknownTimer(); method public void setLastTransition(int); method public void setMonitorTransitions(int); method public void setNotificationResponsiveness(int); + method public void setSourceTechnologies(int); method public void setUnknownTimer(int); } |