Enumeration

AVPlayerActionAtItemEnd

The actions a player should take when it finishes playing.

Declaration

typedef enum AVPlayerActionAtItemEnd : NSInteger {
    ...
} AVPlayerActionAtItemEnd;

Topics

Actions

AVPlayerActionAtItemEndAdvance

The player should advance to the next item, if there is one.

AVPlayerActionAtItemEndPause

The player should pause playing.

AVPlayerActionAtItemEndNone

The player should do nothing.

See Also

Managing Playback

- play

Begins playback of the current item.

- pause

Pauses playback of the current item.

rate

The current playback rate.

actionAtItemEnd

The action to perform when the current player item has finished playing.

- replaceCurrentItemWithPlayerItem:

Replaces the current player item with a new player item.

preventsDisplaySleepDuringVideoPlayback

A Boolean value that indicates whether video playback prevents display and device sleep.