Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 1 | package 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(); |
| 11 | method public abstract void onDisable(); |
| 12 | method public void onDump(java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]); |
| 13 | method public abstract void onEnable(); |
Soonil Nagarkar | 94749f7 | 2018-11-08 11:46:43 -0800 | [diff] [blame] | 14 | method public deprecated int onGetStatus(android.os.Bundle); |
| 15 | method public deprecated long onGetStatusUpdateTime(); |
Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 16 | method public boolean onSendExtraCommand(java.lang.String, android.os.Bundle); |
| 17 | method public abstract void onSetRequest(com.android.location.provider.ProviderRequestUnbundled, android.os.WorkSource); |
| 18 | method public final void reportLocation(android.location.Location); |
| 19 | field public static final java.lang.String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; |
| 20 | field public static final java.lang.String FUSED_PROVIDER = "fused"; |
| 21 | } |
| 22 | |
| 23 | public final class LocationRequestUnbundled { |
| 24 | method public long getFastestInterval(); |
| 25 | method public long getInterval(); |
| 26 | method public int getQuality(); |
| 27 | method public float getSmallestDisplacement(); |
| 28 | field public static final int ACCURACY_BLOCK = 102; // 0x66 |
| 29 | field public static final int ACCURACY_CITY = 104; // 0x68 |
| 30 | field public static final int ACCURACY_FINE = 100; // 0x64 |
| 31 | field public static final int POWER_HIGH = 203; // 0xcb |
| 32 | field public static final int POWER_LOW = 201; // 0xc9 |
| 33 | field public static final int POWER_NONE = 200; // 0xc8 |
| 34 | } |
| 35 | |
| 36 | public final class ProviderPropertiesUnbundled { |
| 37 | method public static com.android.location.provider.ProviderPropertiesUnbundled create(boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int); |
| 38 | } |
| 39 | |
| 40 | public final class ProviderRequestUnbundled { |
| 41 | method public long getInterval(); |
| 42 | method public java.util.List<com.android.location.provider.LocationRequestUnbundled> getLocationRequests(); |
| 43 | method public boolean getReportLocation(); |
| 44 | } |
| 45 | |
| 46 | } |
| 47 | |