create
abstract fun create(settings: BaseScanner.Settings, coroutineScope: CoroutineScope, scanningDispatcher: CoroutineDispatcher = com.splendo.kaluga.bluetooth.scanner.scanningDispatcher): BaseScanner
Creates a BaseScanner
Return
the BaseScanner created
Parameters
settings
the BaseScanner.Settings to configure the scanner with
coroutineScope
the CoroutineScope the scanner will run in
scanningDispatcher
the CoroutineDispatcher to which scanning should be dispatched. It is recommended to make this a dispatcher that can handle high frequency of events