diff options
author | destradaa <destradaa@google.com> | 2014-08-18 10:15:28 -0700 |
---|---|---|
committer | destradaa <destradaa@google.com> | 2014-08-18 10:15:28 -0700 |
commit | 67343bb6feb9ff7988de5d880d6e7b235b1207b0 (patch) | |
tree | a483370a441522f8594084f3fafe6a570d149141 | |
parent | 2017fd0c7540a4f0734ec26b9cbec835254fc08f (diff) | |
download | prebuilts_sdk-67343bb6feb9ff7988de5d880d6e7b235b1207b0.zip prebuilts_sdk-67343bb6feb9ff7988de5d880d6e7b235b1207b0.tar.gz prebuilts_sdk-67343bb6feb9ff7988de5d880d6e7b235b1207b0.tar.bz2 |
Update Geofence HW APIs to be annotated as @SystemApi
b/17008446
Change-Id: Ibf7d1470a0721290771d7dc03c147ba58c2be34e
-rw-r--r-- | api/21.txt | 58 |
1 files changed, 0 insertions, 58 deletions
@@ -10906,64 +10906,6 @@ package android.hardware.input { } -package android.hardware.location { - - public final class GeofenceHardware { - method public boolean addGeofence(int, int, android.hardware.location.GeofenceHardwareRequest, android.hardware.location.GeofenceHardwareCallback); - method public int[] getMonitoringTypes(); - method public int getStatusOfMonitoringType(int); - method public boolean pauseGeofence(int, int); - method public boolean registerForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); - method public boolean removeGeofence(int, int); - method public boolean resumeGeofence(int, int, int); - method public boolean unregisterForMonitorStateChangeCallback(int, android.hardware.location.GeofenceHardwareMonitorCallback); - field public static final int GEOFENCE_ENTERED = 1; // 0x1 - field public static final int GEOFENCE_ERROR_ID_EXISTS = 2; // 0x2 - field public static final int GEOFENCE_ERROR_ID_UNKNOWN = 3; // 0x3 - field public static final int GEOFENCE_ERROR_INVALID_TRANSITION = 4; // 0x4 - field public static final int GEOFENCE_ERROR_TOO_MANY_GEOFENCES = 1; // 0x1 - field public static final int GEOFENCE_EXITED = 2; // 0x2 - field public static final int GEOFENCE_FAILURE = 5; // 0x5 - field public static final int GEOFENCE_SUCCESS = 0; // 0x0 - field public static final int GEOFENCE_UNCERTAIN = 4; // 0x4 - field public static final int MONITORING_TYPE_GPS_HARDWARE = 0; // 0x0 - 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 - } - - public abstract class GeofenceHardwareCallback { - ctor public GeofenceHardwareCallback(); - method public void onGeofenceAdd(int, int); - method public void onGeofencePause(int, int); - method public void onGeofenceRemove(int, int); - method public void onGeofenceResume(int, int); - method public void onGeofenceTransition(int, int, android.location.Location, long, int); - } - - public abstract class GeofenceHardwareMonitorCallback { - ctor public GeofenceHardwareMonitorCallback(); - method public void onMonitoringSystemChange(int, boolean, android.location.Location); - } - - public final class GeofenceHardwareRequest { - ctor public GeofenceHardwareRequest(); - method public static android.hardware.location.GeofenceHardwareRequest createCircularGeofence(double, double, double); - method public int getLastTransition(); - method public double getLatitude(); - method public double getLongitude(); - method public int getMonitorTransitions(); - method public int getNotificationResponsiveness(); - method public double getRadius(); - method public int getUnknownTimer(); - method public void setLastTransition(int); - method public void setMonitorTransitions(int); - method public void setNotificationResponsiveness(int); - method public void setUnknownTimer(int); - } - -} - package android.hardware.usb { public class UsbAccessory implements android.os.Parcelable { |