(whitelist=false)
| 22 | this.start(); |
| 23 | } |
| 24 | start(whitelist=false) { |
| 25 | trace(`start scanning: ${whitelist}\n`); |
| 26 | if (whitelist) { |
| 27 | this.startScanning({ filterPolicy: GAP.ScanFilterPolicy.WHITELIST, duplicates: true }); |
| 28 | } else { |
| 29 | this.startScanning({duplicates: true}); |
| 30 | } |
| 31 | } |
| 32 | stop() { |
| 33 | trace("stop scanning\n"); |
| 34 | this.stopScanning(); |
no outgoing calls
no test coverage detected