<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerInterstitialEventController/cancelCurrentEvent(withResumptionOffset:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerInterstitialEventController(im)cancelCurrentEventWithResumptionOffset:"
  },
  "title" : "cancelCurrentEvent(withResumptionOffset:)"
}
-->

# cancelCurrentEvent(withResumptionOffset:)

Cancels the playback of all currently playing and scheduled interstitial events, and resumes playback of primary content.

```
func cancelCurrentEvent(withResumptionOffset resumptionOffset: CMTime)
```

## Parameters

`resumptionOffset`

The time offset at which playback of the primary content resumes after interstitial playback finishes.

## Discussion

When you cancel interstitial events using this method, the resumption offset value that you specify overrides the events’s [`resumptionOffset`](/documentation/AVFoundation/AVPlayerInterstitialEvent/resumptionOffset) value.

> Note:
> If you call this method during the handling of coinciding interstitial events, the system cancels all events for that time. Calling this method has no impact on schedule events that have dates or times later than this event.

---

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)