Enumeration

AVPlayer.TimeControlStatus

The player statuses indicating a playback rate change.

Declaration

enum TimeControlStatus : Int

Topics

Constants

case paused

The player is paused.

case waitingToPlayAtSpecifiedRate

The player is in a waiting state due to empty buffers or insufficient buffering.

case playing

The player is currently playing a media item.

See Also

Managing Automatic Waiting Behavior

var automaticallyWaitsToMinimizeStalling: Bool

A Boolean value that indicates whether the player should automatically delay playback in order to minimize stalling.

var reasonForWaitingToPlay: AVPlayer.WaitingReason?

The reason the player is currently waiting for playback to begin or resume.

struct AVPlayer.WaitingReason

The reasons the player is waiting begin or resume playback.

var timeControlStatus: AVPlayer.TimeControlStatus

A status that indicates whether playback is currently in progress, paused indefinitely, or suspended while waiting for appropriate network conditions.

func playImmediately(atRate: Float)

Plays the available media data immediately, at the specified rate.

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