summaryrefslogtreecommitdiff
path: root/location/lib/api/current.txt
blob: 9cc30d0d751e3002d68c51719e9b63e73827058d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Signature format: 2.0
package com.android.location.provider {

  @Deprecated public abstract class FusedProvider {
    ctor @Deprecated public FusedProvider();
    method @Deprecated public android.os.IBinder getBinder();
  }

  public abstract class LocationProviderBase {
    ctor public LocationProviderBase(String, com.android.location.provider.ProviderPropertiesUnbundled);
    method public android.os.IBinder getBinder();
    method @RequiresApi(android.os.Build.VERSION_CODES.R) public boolean isAllowed();
    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.Q) public boolean isEnabled();
    method @Deprecated protected void onDisable();
    method @Deprecated protected void onDump(java.io.FileDescriptor, java.io.PrintWriter, String[]);
    method @Deprecated protected void onEnable();
    method @Deprecated protected int onGetStatus(android.os.Bundle);
    method @Deprecated protected long onGetStatusUpdateTime();
    method protected void onInit();
    method protected boolean onSendExtraCommand(@Nullable String, @Nullable android.os.Bundle);
    method protected abstract void onSetRequest(com.android.location.provider.ProviderRequestUnbundled, android.os.WorkSource);
    method public void reportLocation(android.location.Location);
    method @RequiresApi(android.os.Build.VERSION_CODES.Q) public void setAdditionalProviderPackages(java.util.List<java.lang.String>);
    method @RequiresApi(android.os.Build.VERSION_CODES.R) public void setAllowed(boolean);
    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.Q) public void setEnabled(boolean);
    method @RequiresApi(android.os.Build.VERSION_CODES.Q) public void setProperties(com.android.location.provider.ProviderPropertiesUnbundled);
    field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation";
    field public static final String FUSED_PROVIDER = "fused";
  }

  public final class LocationRequestUnbundled {
    method public long getFastestInterval();
    method public long getInterval();
    method public int getQuality();
    method public float getSmallestDisplacement();
    method public boolean isLocationSettingsIgnored();
    field public static final int ACCURACY_BLOCK = 102; // 0x66
    field public static final int ACCURACY_CITY = 104; // 0x68
    field public static final int ACCURACY_FINE = 100; // 0x64
    field public static final int POWER_HIGH = 203; // 0xcb
    field public static final int POWER_LOW = 201; // 0xc9
    field public static final int POWER_NONE = 200; // 0xc8
  }

  public final class ProviderPropertiesUnbundled {
    method public static com.android.location.provider.ProviderPropertiesUnbundled create(boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int);
  }

  public final class ProviderRequestUnbundled {
    method public long getInterval();
    method public java.util.List<com.android.location.provider.LocationRequestUnbundled> getLocationRequests();
    method public boolean getReportLocation();
    method @RequiresApi(android.os.Build.VERSION_CODES.Q) public boolean isLocationSettingsIgnored();
  }

}