<!--
{
  "availability" : [
    "iOS: 3.2.0 - 9.0.0",
    "iPadOS: 3.2.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "tvOS: 9.0.0 - 9.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSNotification/Name-swift.struct/MPMoviePlayerIsAirPlayVideoActiveDidChange",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@MPMoviePlayerIsAirPlayVideoActiveDidChangeNotification"
  },
  "title" : "MPMoviePlayerIsAirPlayVideoActiveDidChange"
}
-->

# MPMoviePlayerIsAirPlayVideoActiveDidChange

Posted when a movie player has started or ended playing a movie via AirPlay. There is no `userInfo` dictionary.

```
static let MPMoviePlayerIsAirPlayVideoActiveDidChange: NSNotification.Name
```

## Discussion

To find out whether AirPlay playback started or stopped, query the <doc://com.apple.documentation/documentation/MediaPlayer/MPMoviePlayerController/isAirPlayVideoActive> property. The movie player whose state has changed is available as the object associated with the notification.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)