Builder
Mock implementation of BaseScanner.Builder
Parameters
initialBluetoothEnabled
Sets the initial enabled state of bluetooth
setupMocks
If true
this will automatically configure the createMock to build MockScanner
Constructors
Properties
Link copied to clipboard
List of created MockScanner
Link copied to clipboard
val createMock: MethodMock<TripleParameters.Matchers<settings: BaseScanner.Settings, coroutineScope: CoroutineScope, scanningDispatcher: CoroutineDispatcher>, TripleParameters.MatchersOrCaptor<settings: BaseScanner.Settings, coroutineScope: CoroutineScope, scanningDispatcher: CoroutineDispatcher>, TripleParameters.Values<settings: BaseScanner.Settings, coroutineScope: CoroutineScope, scanningDispatcher: CoroutineDispatcher>, TripleParameters<settings: BaseScanner.Settings, coroutineScope: CoroutineScope, scanningDispatcher: CoroutineDispatcher>, BaseScanner>
Functions
Link copied to clipboard
open override fun create(settings: BaseScanner.Settings, coroutineScope: CoroutineScope, scanningDispatcher: CoroutineDispatcher): BaseScanner