Enumerations
The following enumerations are available globally.
-
All possible player states reported to Conviva.
See moreDeclaration
Objective-C
enum PlayerState {}
Swift
enum PlayerState : UInt
-
All possible device types reported to Conviva.
See moreDeclaration
Objective-C
enum DeviceType {}
Swift
enum DeviceType : Int
-
All possible stream type that contains video advertisement.
See moreDeclaration
Objective-C
enum AdStream {}
Swift
enum AdStream : Int
-
All possible video player in charge of rendering video advertisement.
See moreDeclaration
Objective-C
enum AdPlayer {}
Swift
enum AdPlayer : Int
-
All possible position of video advertisement relative to content.
See moreDeclaration
Objective-C
enum AdPosition {}
Swift
enum AdPosition : Int
-
All possible severity of errors reported to Conviva.
See moreDeclaration
Objective-C
enum ErrorSeverity {}
Swift
enum ErrorSeverity : Int
-
Possible types of ad technologies.
See moreDeclaration
Objective-C
enum AdTechnology {}
Swift
enum AdTechnology : Int
-
Possible types of ad type.
See moreDeclaration
Objective-C
enum AdType {}
Swift
enum AdType : Int
-
Possible types of ad serving type.
See moreDeclaration
Objective-C
enum AdServingType {}
Swift
enum AdServingType : Int
-
Possible types of ad error type.
See moreDeclaration
Objective-C
enum ErrorType {}
Swift
enum ErrorType : Int
-
Possible types of ad events.
See moreDeclaration
Objective-C
enum Events {}
Swift
enum Events : Int
-
Stream type which will be played by the player for the video session.
See moreDeclaration
Objective-C
enum StreamType {}
Swift
enum StreamType : UInt
-
Log level setting for the SDK client.
See moreDeclaration
Objective-C
enum LogLevel {}
Swift
enum LogLevel : UInt
-
Undocumented
See moreDeclaration
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