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
@MainThread
fun BluetoothConnectivityServiceMock.addConnectableProfiles(profiles: List<BluetoothDeviceProfile>)

Add connectable profiles.

Link copied to clipboard
@MainThread
fun BluetoothConnectivityServiceMock.addOrUpdateDeviceInformation(deviceAddress: BluetoothDeviceAddress, deviceInformation: BluetoothDeviceInformation): Boolean

Add or update the device information of a device.

Link copied to clipboard
@MainThread
fun BluetoothConnectivityServiceMock.addToRecentlyConnectedDevices(deviceAddress: BluetoothDeviceAddress)

Add recently connected device.

Link copied to clipboard
@MainThread
fun BluetoothConnectivityServiceMock.defaultInit()

Performs a default initialization of the contacts service mock which makes the service available.

Link copied to clipboard
@MainThread
fun BluetoothConnectivityServiceMock.removeFromRecentlyConnectedDevices(deviceAddress: BluetoothDeviceAddress)

Remove recently connected device.

Link copied to clipboard
@MainThread
fun BluetoothConnectivityServiceMock.updateConfigurationMode(enabled: Boolean)

Update configuration mode.

Link copied to clipboard
@MainThread
fun BluetoothConnectivityServiceMock.updateDiscoveringActive(active: Boolean)

Update discovering active.