---
title: "nowPlayingSessionDidChangeCanBecomeActive(_:)"
framework: mediaplayer
role: symbol
role_heading: Instance Method
path: "mediaplayer/mpnowplayingsessiondelegate/nowplayingsessiondidchangecanbecomeactive(_:)"
---

# nowPlayingSessionDidChangeCanBecomeActive(_:)

Tells the delegate that the session is eligible to become active.

## Declaration

```swift
optional func nowPlayingSessionDidChangeCanBecomeActive(_ nowPlayingSession: MPNowPlayingSession)
```

## Parameters

- `nowPlayingSession`: The Now Playing session that changed.

## See Also

### Related Documentation

- [canBecomeActive](mediaplayer/mpnowplayingsession/canbecomeactive.md)

### Responding to state changes

- [nowPlayingSessionDidChangeActive(_:)](mediaplayer/mpnowplayingsessiondelegate/nowplayingsessiondidchangeactive(_:).md)
