---
title: failedToPlayToEndTimeNotification
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avplayeritem/failedtoplaytoendtimenotification
---

# failedToPlayToEndTimeNotification

A notification that the system posts when a player item fails to play to its end time.

## Declaration

```swift
class let failedToPlayToEndTimeNotification: NSNotification.Name
```

## Discussion

Discussion The notification’s object is the player item that finished playing. important: The system may post this notification on a thread other than the one you use to register the observer.

## Topics

### Error keys

- [AVPlayerItemFailedToPlayToEndTimeErrorKey](avfoundation/avplayeritemfailedtoplaytoendtimeerrorkey.md)

## See Also

### Observing notifications

- [didPlayToEndTimeNotification](avfoundation/avplayeritem/didplaytoendtimenotification.md)
- [timeJumpedNotification](avfoundation/avplayeritem/timejumpednotification.md)
- [playbackStalledNotification](avfoundation/avplayeritem/playbackstallednotification.md)
- [mediaSelectionDidChangeNotification](avfoundation/avplayeritem/mediaselectiondidchangenotification.md)
- [recommendedTimeOffsetFromLiveDidChangeNotification](avfoundation/avplayeritem/recommendedtimeoffsetfromlivedidchangenotification.md)
- [newAccessLogEntryNotification](avfoundation/avplayeritem/newaccesslogentrynotification.md)
- [newErrorLogEntryNotification](avfoundation/avplayeritem/newerrorlogentrynotification.md)
