Package com.tomtom.ivi.platform.bluetoothconnectivity.api.common.model

This package contains the classes which can be used to reflect the state of a remote Bluetooth device and local Bluetooth adapter.

Remote Bluetooth device

The state of remote Bluetooth devices is reflected by the following classes:

Local Bluetooth adapter

The Bluetooth profile policies are reflected by the following classes:

Types

Link copied to clipboard
data class BluetoothConnectivityStatus(    val connectionState: BluetoothConnectivityStatus.BluetoothConnectionState,     val bondState: BluetoothConnectivityStatus.BluetoothBondState,     val lastBondStateChangeReason: BluetoothConnectivityStatus.BondStateChangeReason? = null) : Parcelable

Represents a BluetoothConnectivityStatus which holds connection status information of a remote Bluetooth device.

Link copied to clipboard
data class BluetoothDeviceAddress(val address: String) : Parcelable

Represents the address of the remote Bluetooth device.

Link copied to clipboard
data class BluetoothDeviceInformation(    val name: String?,     val majorDeviceClass: BluetoothDeviceInformation.BluetoothDeviceMajorClass,     val majorServiceClasses: Set<BluetoothDeviceInformation.BluetoothDeviceMajorServiceClass>,     val status: BluetoothConnectivityStatus) : Parcelable

Represents a BluetoothDeviceInformation which holds information about a specific remote Bluetooth device.

Link copied to clipboard
enum BluetoothDeviceProfile : Enum<BluetoothDeviceProfile> , Parcelable

Represents a Bluetooth profile.

Link copied to clipboard
data class BluetoothPairingDetails(val pairingVariant: BluetoothPairingDetails.PairingVariant, val passkey: String?) : Parcelable

Represents Bluetooth pairing information and holds the current Bluetooth device pairing details. It includes the pairing variant and the passkey.

Link copied to clipboard
enum BluetoothProfileConnectionPolicy : Enum<BluetoothProfileConnectionPolicy> , Parcelable

Represents a connection policy for a Bluetooth profile.