<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVInterstitialTimeRange",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVInterstitialTimeRange"
  },
  "title" : "AVInterstitialTimeRange"
}
-->

# AVInterstitialTimeRange

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

```
class AVInterstitialTimeRange
```

## Overview

When you associate interstitial time ranges with an <doc://com.apple.documentation/documentation/AVFoundation/AVPlayerItem> you present with an [`AVPlayerViewController`](/documentation/AVKit/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:)`](/documentation/AVKit/AVInterstitialTimeRange/init(timeRange:))

Initializes an interstitial time range object with the specified time range.

### Inspecting an Interstitial Time Range

[`timeRange`](/documentation/AVKit/AVInterstitialTimeRange/timeRange)

The time range identified as interstitial content.



---

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)