Instance Property

state

The current state of the player.

Declaration

var state: TVPlaybackState { get }

See Also

Controlling Playback

func next()

Plays the next media item in the playlist.

func pause()

Pauses the currently playing item.

func previous()

Plays the previous media item in the playlist.

enum TVPlaybackState

The possible states of a player.

struct TVPlaybackEvent

Extend this structure to send your custom playback events to the JavaScript environment.

protocol TVPlaybackEventMarshaling

A protocol used for sending and receiving information across the JavaScript bridge.

class TVPlaybackCustomEventUserInfo

The user information used in a custom playback event.