* commit 'a07d0a88436595edcb9e33ebbd2faadb0e09de6e': Add NO_BATCH flag to WifiScanner
This commit is contained in:
@@ -21118,9 +21118,10 @@ package android.net.wifi {
|
||||
field public static final int REASON_NOT_AUTHORIZED = -4; // 0xfffffffc
|
||||
field public static final int REASON_SUCCEEDED = 0; // 0x0
|
||||
field public static final int REASON_UNSPECIFIED = -1; // 0xffffffff
|
||||
field public static final int REPORT_EVENT_AFTER_BUFFER_FULL = 0; // 0x0
|
||||
field public static final deprecated int REPORT_EVENT_AFTER_BUFFER_FULL = 0; // 0x0
|
||||
field public static final int REPORT_EVENT_AFTER_EACH_SCAN = 1; // 0x1
|
||||
field public static final int REPORT_EVENT_FULL_SCAN_RESULT = 2; // 0x2
|
||||
field public static final int REPORT_EVENT_NO_BATCH = 4; // 0x4
|
||||
field public static final int WIFI_BAND_24_GHZ = 1; // 0x1
|
||||
field public static final int WIFI_BAND_5_GHZ = 2; // 0x2
|
||||
field public static final int WIFI_BAND_5_GHZ_DFS_ONLY = 4; // 0x4
|
||||
|
||||
@@ -136,12 +136,17 @@ public class WifiScanner {
|
||||
}
|
||||
}
|
||||
|
||||
/** reports {@link ScanListener#onResults} when underlying buffers are full */
|
||||
/** reports {@link ScanListener#onResults} when underlying buffers are full
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
public static final int REPORT_EVENT_AFTER_BUFFER_FULL = 0;
|
||||
/** reports {@link ScanListener#onResults} after each scan */
|
||||
public static final int REPORT_EVENT_AFTER_EACH_SCAN = 1;
|
||||
/** reports {@link ScanListener#onFullResult} whenever each beacon is discovered */
|
||||
public static final int REPORT_EVENT_FULL_SCAN_RESULT = 2;
|
||||
/** do not batch */
|
||||
public static final int REPORT_EVENT_NO_BATCH = 4;
|
||||
|
||||
/**
|
||||
* scan configuration parameters to be sent to {@link #startBackgroundScan}
|
||||
|
||||
Reference in New Issue
Block a user