---
title: pushTokenUpdates
framework: nowplaying
role: symbol
role_heading: Instance Property
path: nowplaying/remotemediasessionrepresentable/pushtokenupdates
---

# pushTokenUpdates

An asynchronous sequence you use to observe changes to the push token of this remote session.

## Declaration

```swift
@MainActor var pushTokenUpdates: AsyncStream<Data> { get }
```

## Mentioned in

Publishing remote media sessions

## Discussion

Discussion Monitor this sequence to receive updated push tokens. When the token changes, transmit the new token securely to your server so the server can continue to send update and end push notifications for this session. Invalidate the outdated token promptly so it cannot be reused, and retain the token only as long as needed to deliver session updates. note: Push tokens are device-scoped identifiers. Handle them securely on your server (for example, over HTTPS) and follow your app’s privacy policy for any data collected alongside them.
