Instance Property

actionAtItemEnd

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

Declaration

@property AVPlayerActionAtItemEnd actionAtItemEnd;

Discussion

For possible values, see AVPlayerActionAtItemEnd.

See Also

Managing Playback

- play

Begins playback of the current item.

- pause

Pauses playback of the current item.

rate

The current playback rate.

AVPlayerActionAtItemEnd

The actions a player should take when it finishes 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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software