---
title: "activityUpdated(_:)"
framework: Accessory Live Activities
role: symbol
role_heading: Instance Method
platforms: [iOS 26.5+, iPadOS 26.5+]
path: "accessoryliveactivities/liveactivityforwarding/accessoryliveactivitieshandler/activityupdated(_:)"
---

# activityUpdated(_:)

Provides an updated Live Activity.

## Declaration

```swift
func activityUpdated(_ activity: AccessoryLiveActivity)
```

## Parameters

- `activity`: The updated Live Activity.

## Mentioned in

Receiving Live Activity updates and alerts on an accessory

## Overview

Overview Use this callback method to keep the accessory’s display in sync with the current state of the Live Activity. Parse the activity’s details, select the information to display on your accessory, and convert it to data for transmission. Then, send the data to your accessory using the Live Activity’s corresponding LiveActivityForwarding.Session and its LiveActivityForwarding/Session/send(message:) method. If the activity’s state property equals ActivityState.dismissed, remove the Live Activity from the accessory’s display.

## See Also

### Receiving Live Activity updates

- [activityUpdatedForAlert(_:)](accessoryliveactivities/liveactivityforwarding/accessoryliveactivitieshandler/activityupdatedforalert(_:).md)
