blob: 7046abd8fd3bb0e4dd46787be43ac7c970712f5b [file] [log] [blame]
Tor Norbye68ea0c32018-12-26 19:55:07 -08001// Signature format: 2.0
Soonil Nagarkar49983fc2020-12-24 14:02:44 -08002package com.android.location.provider {
3
4 @Deprecated public final class FusedLocationHardware {
5 method @Deprecated public void flushBatchedLocations();
6 method @Deprecated public int getSupportedBatchSize();
7 method @Deprecated public int getVersion();
8 method @Deprecated public void injectDeviceContext(int);
9 method @Deprecated public void injectDiagnosticData(String);
10 method @Deprecated public void registerSink(com.android.location.provider.FusedLocationHardwareSink, android.os.Looper);
11 method @Deprecated public void requestBatchOfLocations(int);
12 method @Deprecated public void startBatching(int, com.android.location.provider.GmsFusedBatchOptions);
13 method @Deprecated public void stopBatching(int);
14 method @Deprecated public boolean supportsDeviceContextInjection();
15 method @Deprecated public boolean supportsDiagnosticDataInjection();
16 method @Deprecated public void unregisterSink(com.android.location.provider.FusedLocationHardwareSink);
17 method @Deprecated public void updateBatchingOptions(int, com.android.location.provider.GmsFusedBatchOptions);
18 }
19
20 @Deprecated public class FusedLocationHardwareSink {
21 ctor @Deprecated public FusedLocationHardwareSink();
22 method @Deprecated public void onCapabilities(int);
23 method @Deprecated public void onDiagnosticDataAvailable(String);
24 method @Deprecated public void onLocationAvailable(android.location.Location[]);
25 method @Deprecated public void onStatusChanged(int);
26 }
27
28 @Deprecated public class GmsFusedBatchOptions {
29 ctor @Deprecated public GmsFusedBatchOptions();
30 method @Deprecated public int getFlags();
31 method @Deprecated public double getMaxPowerAllocationInMW();
32 method @Deprecated public long getPeriodInNS();
33 method @Deprecated public float getSmallestDisplacementMeters();
34 method @Deprecated public int getSourcesToUse();
35 method @Deprecated public boolean isFlagSet(int);
36 method @Deprecated public boolean isSourceToUseSet(int);
37 method @Deprecated public void resetFlag(int);
38 method @Deprecated public void resetSourceToUse(int);
39 method @Deprecated public void setFlag(int);
40 method @Deprecated public void setMaxPowerAllocationInMW(double);
41 method @Deprecated public void setPeriodInNS(long);
42 method @Deprecated public void setSmallestDisplacementMeters(float);
43 method @Deprecated public void setSourceToUse(int);
44 }
45
46 @Deprecated public static final class GmsFusedBatchOptions.BatchFlags {
47 ctor @Deprecated public GmsFusedBatchOptions.BatchFlags();
48 field @Deprecated public static int CALLBACK_ON_LOCATION_FIX;
49 field @Deprecated public static int WAKEUP_ON_FIFO_FULL;
50 }
51
52 @Deprecated public static final class GmsFusedBatchOptions.SourceTechnologies {
53 ctor @Deprecated public GmsFusedBatchOptions.SourceTechnologies();
54 field @Deprecated public static int BLUETOOTH;
55 field @Deprecated public static int CELL;
56 field @Deprecated public static int GNSS;
57 field @Deprecated public static int SENSORS;
58 field @Deprecated public static int WIFI;
59 }
60
61}
62