Contents

skipToNextItem(for:)

Tells the delegate when the user requests skipping to the next item in the timeline.

Declaration

optional func skipToNextItem(for playerViewController: AVPlayerViewController)

Parameters

  • playerViewController:

    The player view controller.

Discussion

The framework calls this method when you set the player view controller’s skipping behavior to AVPlayerViewControllerSkippingBehavior.skipItem and a user performs a forward skip gesture (by pressing the right side of the Siri Remote’s Touch surface). Implement this method to update the player view controller’s player to play the next player item.

See Also

Responding to Navigation Events