Enumerations

The following enumerations are available globally.

  • All possible player states reported to Conviva.

    See more

    Declaration

    Objective-C

    enum PlayerState {}

    Swift

    enum PlayerState : UInt
  • All possible device types reported to Conviva.

    See more

    Declaration

    Objective-C

    enum DeviceType {}

    Swift

    enum DeviceType : Int
  • All possible stream type that contains video advertisement.

    See more

    Declaration

    Objective-C

    enum AdStream {}

    Swift

    enum AdStream : Int
  • All possible video player in charge of rendering video advertisement.

    See more

    Declaration

    Objective-C

    enum AdPlayer {}

    Swift

    enum AdPlayer : Int
  • All possible position of video advertisement relative to content.

    See more

    Declaration

    Objective-C

    enum AdPosition {}

    Swift

    enum AdPosition : Int
  • All possible severity of errors reported to Conviva.

    See more

    Declaration

    Objective-C

    enum ErrorSeverity {}

    Swift

    enum ErrorSeverity : Int
  • Possible types of ad technologies.

    See more

    Declaration

    Objective-C

    enum AdTechnology {}

    Swift

    enum AdTechnology : Int
  • Possible types of ad type.

    See more

    Declaration

    Objective-C

    enum AdType {}

    Swift

    enum AdType : Int
  • Possible types of ad serving type.

    See more

    Declaration

    Objective-C

    enum AdServingType {}

    Swift

    enum AdServingType : Int
  • Possible types of ad error type.

    See more

    Declaration

    Objective-C

    enum ErrorType {}

    Swift

    enum ErrorType : Int
  • Possible types of ad events.

    See more

    Declaration

    Objective-C

    enum Events {}

    Swift

    enum Events : Int
  • Stream type which will be played by the player for the video session.

    See more

    Declaration

    Objective-C

    enum StreamType {}

    Swift

    enum StreamType : UInt
  • Log level setting for the SDK client.

    See more

    Declaration

    Objective-C

    enum LogLevel {}

    Swift

    enum LogLevel : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, ConvivaAdPlayerState) {
        /** Report this state when you can confirm that the player is currently inactive/idle. */
        CONVIVA_AD_STOPPED = 1,
        /** Report this state when you can confirm that the player is actively rendering video content for the viewer.<br>
         This should never be reported for unavailable/blocked content. */
        CONVIVA_AD_PLAYING  = 3,
        /** Report this state when you can confirm that the player is stalled due to lack of video data in the buffer.<br>
         It may show a spinner or it may simply present a freeze frame. */
        CONVIVA_AD_BUFFERING  = 6,
        /** Report this state when you can confirm that the player is paused, generally upon viewer request. */
        CONVIVA_AD_PAUSED = 12,
        /** Report this state when no other recognized Conviva player states apply. */
        CONVIVA_AD_NOT_MONITORED = 98,
        /** Reserved state. Do not use. */
        CONVIVA_AD_UNKNOWN = 100
    }

    Swift

    enum ConvivaAdPlayerState : UInt