setNativeBluetooth function

  1. @visibleForTesting
void setNativeBluetooth(
  1. NativeBluetooth nativeBluetooth
)

Replace the NativeBluetooth api interface to allow for testing. This shouldn't be done for production code.

If you do replace the NativeBluetooth then you may also want to change the testingSetJSUtils.

Implementation

@visibleForTesting
void setNativeBluetooth(final NativeBluetooth nativeBluetooth) {
  _nativeBluetooth = nativeBluetooth;
}