blob: 10c3447750197ff718eb63979d466eaba4a0f41a [file] [log] [blame]
Sundong Ahn50cd1a92018-05-21 17:39:23 +09001package com.android.location.provider {
2
3 public abstract deprecated class FusedProvider {
4 ctor public FusedProvider();
5 method public android.os.IBinder getBinder();
6 }
7
8 public abstract class LocationProviderBase {
9 ctor public LocationProviderBase(java.lang.String, com.android.location.provider.ProviderPropertiesUnbundled);
10 method public android.os.IBinder getBinder();
Soonil Nagarkar1575a042018-10-24 17:54:54 -070011 method public boolean isEnabled();
12 method protected deprecated void onDisable();
13 method protected void onDump(java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]);
14 method protected deprecated void onEnable();
15 method protected deprecated int onGetStatus(android.os.Bundle);
16 method protected deprecated long onGetStatusUpdateTime();
17 method protected void onInit();
18 method protected boolean onSendExtraCommand(java.lang.String, android.os.Bundle);
19 method protected abstract void onSetRequest(com.android.location.provider.ProviderRequestUnbundled, android.os.WorkSource);
20 method public void reportLocation(android.location.Location);
21 method public void setEnabled(boolean);
22 method public void setProperties(com.android.location.provider.ProviderPropertiesUnbundled);
Sundong Ahn50cd1a92018-05-21 17:39:23 +090023 field public static final java.lang.String EXTRA_NO_GPS_LOCATION = "noGPSLocation";
24 field public static final java.lang.String FUSED_PROVIDER = "fused";
25 }
26
27 public final class LocationRequestUnbundled {
28 method public long getFastestInterval();
29 method public long getInterval();
30 method public int getQuality();
31 method public float getSmallestDisplacement();
32 field public static final int ACCURACY_BLOCK = 102; // 0x66
33 field public static final int ACCURACY_CITY = 104; // 0x68
34 field public static final int ACCURACY_FINE = 100; // 0x64
35 field public static final int POWER_HIGH = 203; // 0xcb
36 field public static final int POWER_LOW = 201; // 0xc9
37 field public static final int POWER_NONE = 200; // 0xc8
38 }
39
40 public final class ProviderPropertiesUnbundled {
41 method public static com.android.location.provider.ProviderPropertiesUnbundled create(boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int);
42 }
43
44 public final class ProviderRequestUnbundled {
Soonil Nagarkar1575a042018-10-24 17:54:54 -070045 method public boolean getForceLocation();
Sundong Ahn50cd1a92018-05-21 17:39:23 +090046 method public long getInterval();
47 method public java.util.List<com.android.location.provider.LocationRequestUnbundled> getLocationRequests();
48 method public boolean getReportLocation();
49 }
50
51}
52