NativeBluetooth constructor

  1. @visibleForTesting
NativeBluetooth()

Create a new instance of NativeBluetooth with the default implementations for the methods that will call the actual methods on the navigator in the background.

Using the constructor can be used if you want to rest the native bluetooth implementation for testing using setNativeBluetooth.

Otherwise the Fake library can be used to overwrite the methods for testing

Implementation

@visibleForTesting
NativeBluetooth();