PlayerState

enum PlayerState {}

All possible player states reported to Conviva.

  • Report this state when you can confirm that the player is currently inactive/idle.

    Declaration

    Objective-C

    CONVIVA_STOPPED = 1

    Swift

    case CONVIVA_STOPPED = 1
  • Report this state when you can confirm that the player is actively rendering video content for the viewer.
    This should never be reported for unavailable/blocked content.

    Declaration

    Objective-C

    CONVIVA_PLAYING = 3

    Swift

    case CONVIVA_PLAYING = 3
  • Report this state when you can confirm that the player is stalled due to lack of video data in the buffer.
    It may show a spinner or it may simply present a freeze frame.

    Declaration

    Objective-C

    CONVIVA_BUFFERING = 6

    Swift

    case CONVIVA_BUFFERING = 6
  • Report this state when you can confirm that the player is paused, generally upon viewer request.

    Declaration

    Objective-C

    CONVIVA_PAUSED = 12

    Swift

    case CONVIVA_PAUSED = 12
  • Report this state when no other recognized Conviva player states apply.

    Declaration

    Objective-C

    CONVIVA_NOT_MONITORED = 98

    Swift

    case CONVIVA_NOT_MONITORED = 98
  • Reserved state. Do not use.

    Declaration

    Objective-C

    CONVIVA_UNKNOWN = 100

    Swift

    case CONVIVA_UNKNOWN = 100