Package com.tomtom.ivi.platform.bluetoothconnectivity.api.testing.servicemockextension
This package defines extension functions for the build-time generated BluetoothConnectivityServiceMock
class.
Functions
Link copied to clipboard
fun BluetoothConnectivityServiceMock.addConnectableProfiles(profiles: List<BluetoothDeviceProfile>)
Content copied to clipboard
Add connectable profiles.
Link copied to clipboard
fun BluetoothConnectivityServiceMock.addOrUpdateDeviceInformation(deviceAddress: BluetoothDeviceAddress, deviceInformation: BluetoothDeviceInformation): Boolean
Content copied to clipboard
Add or update the device information of a device.
Link copied to clipboard
fun BluetoothConnectivityServiceMock.addToRecentlyConnectedDevices(deviceAddress: BluetoothDeviceAddress)
Content copied to clipboard
Add recently connected device.
Link copied to clipboard
Performs a default initialization of the contacts service mock which makes the service available.
Link copied to clipboard
fun BluetoothConnectivityServiceMock.removeFromRecentlyConnectedDevices(deviceAddress: BluetoothDeviceAddress)
Content copied to clipboard
Remove recently connected device.
Link copied to clipboard
fun BluetoothConnectivityServiceMock.updateConfigurationMode(enabled: Boolean)
Content copied to clipboard
Update configuration mode.
Link copied to clipboard
fun BluetoothConnectivityServiceMock.updateDiscoveringActive(active: Boolean)
Content copied to clipboard
Update discovering active.