Package 

Object DebugCollectionConfig


  • 
    public class DebugCollectionConfig
    
                        

    TEST/DEBUG-only local overrides that force experimental collectors on regardless of the server-driven config.

    Collection of WiFi and (experimental) BLE is normally gated on the server config (wifi.enabled / ble.enabled). During local CSV testing the server may not enable them (e.g. it has served wifi.enabled=false, and it does not send a ble block yet), so there would be nothing to record. These flags let the test harness force the collectors on for a local, CSV-only run.

    Read by com.doorstepai.sdks.tracking.internal.DataHolder when it decides whether to start each collector. Set the desired flags beforestartDelivery* so startCollection(...) sees them.

    Production callers must leave these false. This does NOT disable OS scan throttling — WiFi still respects the platform's 4-scans/2-min limit — so a forced-on run still reflects a realistic driver experience.

    • Method Detail

      • getForceBleEnabled

         final Boolean getForceBleEnabled()

        Force the experimental BLE collector on even when ble.enabled is false in the server config (which is currently always, since the server does not send a ble block). Default false.

      • setForceBleEnabled

         final Unit setForceBleEnabled(Boolean forceBleEnabled)

        Force the experimental BLE collector on even when ble.enabled is false in the server config (which is currently always, since the server does not send a ble block). Default false.

      • getForceWifiEnabled

         final Boolean getForceWifiEnabled()

        Force the WiFi collector on even when wifi.enabled is false in the server config. Default false.

      • setForceWifiEnabled

         final Unit setForceWifiEnabled(Boolean forceWifiEnabled)

        Force the WiFi collector on even when wifi.enabled is false in the server config. Default false.

      • getBleServiceUuidFilters

         final List<String> getBleServiceUuidFilters()

        Test override: BLE service-UUID ScanFilters, merged into the BLE config. Any non-empty filter makes the scan a FILTERED scan (delivers screen-off). Empty (default) leaves the scan filterless/wildcard (foreground-only).

      • setBleServiceUuidFilters

         final Unit setBleServiceUuidFilters(List<String> bleServiceUuidFilters)

        Test override: BLE service-UUID ScanFilters, merged into the BLE config. Any non-empty filter makes the scan a FILTERED scan (delivers screen-off). Empty (default) leaves the scan filterless/wildcard (foreground-only).