Api26
Parameters
The device name, by default set to "Mock".
Whether Bluetooth is supported on the device.
Whether Bluetooth is enabled on the device.
Whether multi advertisement is supported by the chipset.
Whether LE Extended Advertising feature is supported.
The maximum LE advertising data length in bytes, if LE Extended Advertising feature is supported.
Whether LE 2M PHY is supported on the device.
Whether LE Coded PHY is supported on the device.
Whether the device can scan for Bluetooth LE devices advertising on LE Coded PHY as Primary PHY.
Whether the fine location permission is granted.
Whether location service is enabled on the device.
A callback that will be called when the app requests to advertise. The callback should return TX power level used for mock advertising.
A callback that will be called when the mock central manager requests to scan for devices. It returns whether the scan was successful, secretly failed, or returned an error.