updateAllowedPersonalData
abstract suspend fun updateAllowedPersonalData( vpaIdentifier: VpaIdentifier, bluetoothDeviceAddress: BluetoothDeviceAddress, allowedPersonalData: EnumSet<PersonalDataType>)
Content copied to clipboard
Updates the set of personal data types that the user has allowed to be sent to a VPA service. The VPA could typically use this information to, for example, recognise contact names for hands free calling and to read messages aloud.
Parameters
vpaIdentifier
The VPA for which this setting should be updated. This is the identifier given by the VPA in VpaProperties.vpaIdentifier.
bluetoothDeviceAddress
The BluetoothDeviceAddress of the phone for which this setting should be updated.
allowedPersonalData
The set of PersonalDataType that the user has allowed to be sent to the VPA service.