---
title: "startSendingUpdates(for:to:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/ingetcarpowerlevelstatusintenthandling/startsendingupdates(for:to:)"
---

# startSendingUpdates(for:to:)

Starts the delivery of regular power level updates for a particular electric vehicle.

## Declaration

```swift
optional func startSendingUpdates(for intent: INGetCarPowerLevelStatusIntent, to observer: any INGetCarPowerLevelStatusIntentResponseObserver)
```

## Parameters

- `intent`: The intent object that indicates which electric vehicle you need to provide updates for. The doc://com.apple.sirikit/documentation/Intents/INSpeakable/vocabularyIdentifier property of the doc://com.apple.sirikit/documentation/Intents/INGetCarPowerLevelStatusIntent/carName speakable string stores the unique doc://com.apple.sirikit/documentation/Intents/INCar/carIdentifier.
- `observer`: The observer you send the updates to. You must store a reference to this object and call its doc://com.apple.sirikit/documentation/Intents/INGetCarPowerLevelStatusIntentResponseObserver/didUpdate(getCarPowerLevelStatus:) method when you have a power level update to deliver. For more information, see doc://com.apple.sirikit/documentation/Intents/INGetCarPowerLevelStatusIntentResponseObserver.

## Discussion

Discussion Maps calls this method when it begins a navigation session, and you must use the observer to inform Maps of any abrupt changes in the electric vehicle’s battery charge. Store a reference to the observer, and continue providing updates until the system calls stopSendingUpdates(for:). To determine which vehicle you need to send updates for, you can extract the vehicle’s unique indentifer from the vocabularyIdentifier property of the intent’s carName speakable string. This is the same value as the carIdentifier in the vehicle’s corresponding INCar object that your INListCarsIntentHandling handler returns. important: An arbitrary thread of your Intents extension calls this method.

## See Also

### Providing Power Level Status Updates

- [stopSendingUpdates(for:)](intents/ingetcarpowerlevelstatusintenthandling/stopsendingupdates(for:).md)
