...
To stop monitoring peripherals in the background set the background peripherals to an empty set
Code Block PassiveBluetoothManager.getInstance().setPassivePeripherals(Collections.emptySet());
To disable passive reading, set the
peripheralIDs
property to an empty array or nil.Code Block VLDBluetoothPassiveManager.sharedInstance().peripheralIDs = nil
Cordova
Code Block ValidicMobile.BLE.setPassiveReadPeripheralIDs({ peripheralIDs: [], });
Xarmin Android Framework Wrapper
To stop monitoring peripherals in the background set the background peripherals to null or an empty set
Code Block PassiveBluetoothManager.Instance.PassivePeripherals = null;
To disable passive reading, set the
peripheralIDs
property to an empty array or nil.Code Block VLDBluetoothPassiveManager.SharedInstance().PeripheralIDs = null;
...