From 67343bb6feb9ff7988de5d880d6e7b235b1207b0 Mon Sep 17 00:00:00 2001 From: destradaa Date: Mon, 18 Aug 2014 10:15:28 -0700 Subject: Update Geofence HW APIs to be annotated as @SystemApi b/17008446 Change-Id: Ibf7d1470a0721290771d7dc03c147ba58c2be34e --- api/21.txt | 58 ---------------------------------------------------------- 1 file changed, 58 deletions(-) diff --git a/api/21.txt b/api/21.txt index 618cca1..da98a1a 100644 --- a/api/21.txt +++ b/api/21.txt @@ -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 { -- cgit v1.1