---
title: AVInterstitialTimeRange
framework: avkit
role: symbol
role_heading: Class
path: avkit/avinterstitialtimerange
---

# AVInterstitialTimeRange

A time range in an audiovisual presentation for content with an interstitial designation, such as advertisements or legal notices.

## Declaration

```swift
class AVInterstitialTimeRange
```

## Mentioned in

Working with Interstitial Content

## Overview

Overview When you associate interstitial time ranges with an AVPlayerItem you present with an AVPlayerViewController, you can customize or restrict the presentation of interstitial content. For example, you can allow the user to skip advertisements or prohibit skipping of a legal notice.

## Topics

### Creating an Interstitial Time Range

- [init(timeRange:)](avkit/avinterstitialtimerange/init(timerange:).md)

### Inspecting an Interstitial Time Range

- [timeRange](avkit/avinterstitialtimerange/timerange.md)

### Initializers

- [init(coder:)](avkit/avinterstitialtimerange/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### tvOS playback and capture

- [Customizing the tvOS Playback Experience](avkit/customizing-the-tvos-playback-experience.md)
- [Presenting Navigation Markers](avkit/presenting-navigation-markers.md)
- [Working with Interstitial Content](avkit/working-with-interstitial-content.md)
- [Presenting Content Proposals in tvOS](avkit/presenting-content-proposals-in-tvos.md)
- [Working with Overlays and Parental Controls in tvOS](avkit/working-with-overlays-and-parental-controls-in-tvos.md)
- [Supporting Continuity Camera in your tvOS app](avkit/supporting-continuity-camera-in-your-tvos-app.md)
- [AVPlayerViewController](avkit/avplayerviewcontroller.md)
- [AVPlayerViewControllerDelegate](avkit/avplayerviewcontrollerdelegate.md)
- [AVNavigationMarkersGroup](avkit/avnavigationmarkersgroup.md)
- [AVContentProposalViewController](avkit/avcontentproposalviewcontroller.md)
- [AVDisplayManager](avkit/avdisplaymanager.md)
- [AVContinuityDevicePickerViewController](avkit/avcontinuitydevicepickerviewcontroller.md)
- [AVContinuityDevicePickerViewControllerDelegate](avkit/avcontinuitydevicepickerviewcontrollerdelegate.md)
- [Third-party casting support](avkit/third-party-casting-support.md)
