PlayerState

public enum PlayerState : Int

Player States

  • Idle state is the initial or default state

    Declaration

    Swift

    case idle
  • The player has started to load the content for playback

    Declaration

    Swift

    case loading
  • The player has finished loading the content and is ready for playback

    Declaration

    Swift

    case loaded
  • The player is playing the content

    Declaration

    Swift

    case playing
  • The player has stopped

    Declaration

    Swift

    case paused
  • The player is stopping and will move on to idle state

    Declaration

    Swift

    case stopping