State
public enum State
Playback state.
-
Either playback has not started or playback was stopped due to a
stop()
call or an error. When an error occurs, a correspondingMobilePlayerDidEncounterErrorNotification
notification is posted.Declaration
Swift
case Idle
-
The video will start playing, but sufficient data to start playback has to be loaded first.
Declaration
Swift
case Buffering
-
The video is currently playing.
Declaration
Swift
case Playing
-
The video is currently paused.
Declaration
Swift
case Paused