---
title: automaticallyHandlesInterstitialEvents
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritem/automaticallyhandlesinterstitialevents
---

# automaticallyHandlesInterstitialEvents

A Boolean value that indicates whether the player item automatically plays interstitial events according to server-side directives.

## Declaration

```swift
nonisolated var automaticallyHandlesInterstitialEvents: Bool { get set }
```

## See Also

### Configuring interstitial events

- [integratedTimeline](avfoundation/avplayeritem/integratedtimeline.md)
- [translatesPlayerInterstitialEvents](avfoundation/avplayeritem/translatesplayerinterstitialevents.md)
- [interstitialTimeRanges](avfoundation/avplayeritem/interstitialtimeranges.md)
- [template](avfoundation/avplayeritem/template.md)
