Instance Property

actionAtItemEnd

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

Declaration

var actionAtItemEnd: AVPlayer.ActionAtItemEnd { get set }

Discussion

For possible values, see AVPlayer.ActionAtItemEnd.

See Also

Managing Playback

func play()

Begins playback of the current item.

func pause()

Pauses playback of the current item.

var rate: Float

The current playback rate.

func replaceCurrentItem(with: AVPlayerItem?)

Replaces the current player item with a new player item.