IVSPlayerState

Objective-C

enum IVSPlayerState : NSInteger {}

Swift

enum State : Int

Possible values returned by IVSPlayer.state

  • Indicates that the status of the player is idle.

    Declaration

    Objective-C

    IVSPlayerStateIdle

    Swift

    case idle = 0
  • Indicates that the player is ready to play the selected source.

    Declaration

    Objective-C

    IVSPlayerStateReady

    Swift

    case ready = 1
  • Indicates that the player is buffering content.

    Declaration

    Objective-C

    IVSPlayerStateBuffering

    Swift

    case buffering = 2
  • Indicates that the player is playing.

    Declaration

    Objective-C

    IVSPlayerStatePlaying

    Swift

    case playing = 3
  • Indicates that the player reached the end of the stream.

    Declaration

    Objective-C

    IVSPlayerStateEnded

    Swift

    case ended = 4