enableLocationSharing

abstract suspend fun enableLocationSharing(vpaIdentifier: VpaIdentifier, enable: Boolean)

Enables or disable location sharing with a VPA. If location sharing is enabled, the vehicle's current location is shared with a VPA to, for example, get smarter responses for nearby restaurants, local weather, navigation requests and more.

Parameters

enable

true if location sharing should be enabled, false otherwise.

vpaIdentifier

The VPA for which the location sharing setting should be updated. This is the identifier given by the VPA in VpaProperties.vpaIdentifier.