cancelCurrentEvent(withResumptionOffset:)
Cancels the playback of all currently playing and scheduled interstitial events, and resumes playback of primary content.
Declaration
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 value.