---
title: "update(_:)"
framework: nowplaying
role: symbol
role_heading: Instance Method
path: "nowplaying/remotemediasessionrepresentable/update(_:)"
---

# update(_:)

Updates the session state from new attributes.

## Declaration

```swift
@MainActor func update(_ attributes: Self.Attributes)
```

## Parameters

- `attributes`: The updated session attributes.

## Mentioned in

Publishing remote media sessions
