Twitch SDK (Internal)
modules
ads
ads_common
include
twitchsdk
ads
internal
pch.h
Go to the documentation of this file.
1
/********************************************************************************************
2
* Twitch Broadcasting SDK
3
*
4
* This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5
* may not be copied or used except in accordance with the terms of that agreement
6
* Copyright (c) 2012-2016 Twitch Interactive, Inc.
7
*********************************************************************************************/
8
9
#pragma once
10
11
#include <stdint.h>
12
#include <string.h>
13
#include <cassert>
14
#include <functional>
15
#include <memory>
16
#include <vector>
17
#include <array>
18
#include <map>
19
#include <list>
20
#include <string>
21
#include <algorithm>
22
23
#if TTV_INCLUDE_CPPTRANSITIONS
24
#include "
twitchsdk/core/cpp11transition.h
"
25
#endif
26
27
#include "
twitchsdk/core/types/coretypes.h
"
28
#include "
twitchsdk/core/tracer.h
"
29
#include "
twitchsdk/core/assertion.h
"
30
31
32
namespace
ttv
33
{
34
namespace
ads
35
{
36
enum class
AdError
37
{
38
None
= 0,
39
40
XMLParseError
= 100,
41
VASTSchemaValidationError
= 101,
42
VASTUnsupportedVersion
= 102,
43
44
TraffickingError
= 200,
// Video player received an Ad type that it was not expecting and/or cannot display.
45
UnexpectedLinearity
= 201,
46
UnexpectedDuration
= 202,
47
UnexpectedSize
= 203,
48
49
WrapperError
= 300,
// General wrapper error
50
WrapperFailed
= 301,
// Fetching wrapper failed or timed out
51
WrapperDepth
= 302,
// Ad wrappers redirected too many times
52
WrapperNoAdFound
= 303,
// Ad wrappers never resolved to an actual ad.
53
54
LinearError
= 400,
// General linear ad error
55
MediaFileNotFound
= 401,
56
MediaFileTimedout
= 402,
57
MediaFileIncompatible
= 403,
// No compatible media files were found
58
MediaFileUnplayable
= 405,
// Playback of video failed
59
60
NonLinearAdsError
= 500,
// General non-linear ad error
61
NonLinearIncompatibleDimension
= 501,
// Non-linear with these dimensions is not displayable by the client
62
NonLinearResourceFetchFailed
= 502,
63
NonLinearIncompatibleType
= 503,
64
65
CompanionAdsError
= 600,
66
CompanionIncompatibleDimension
= 601,
// Companion with these dimensions is not displayable by the client
67
CompanionDisplayError
= 602,
68
CompanionResourceFetchFailed
= 603,
69
70
UndefinedError
= 900,
// Generic error, if none of the others fit
71
VPAIDError
= 901,
// Errors related to VPAID framework
72
73
AdFetchFailed
= 1000
74
};
75
}
76
}
ttv::ads::AdError::CompanionDisplayError
ttv::ads::AdError::LinearError
ttv::ads::AdError::AdFetchFailed
ttv::ads::AdError::NonLinearResourceFetchFailed
tracer.h
ttv::ads::AdError::WrapperDepth
ttv::ads::AdError::MediaFileUnplayable
ttv::ads::AdError::WrapperError
assertion.h
ttv::ads::AdError::UndefinedError
ttv::ads::AdError::MediaFileTimedout
ttv::ads::AdError
AdError
Definition:
pch.h:36
ttv
JSON (JavaScript Object Notation).
Definition:
adsapi.h:16
cpp11transition.h
ttv::ads::AdError::WrapperFailed
ttv::ads::AdError::WrapperNoAdFound
ttv::ads::AdError::NonLinearIncompatibleDimension
ttv::ads::AdError::TraffickingError
ttv::ads::AdError::MediaFileIncompatible
ttv::ads::AdError::VPAIDError
ttv::ads::AdError::CompanionAdsError
ttv::ads::AdError::UnexpectedDuration
ttv::ads::AdError::XMLParseError
ttv::ads::AdError::UnexpectedLinearity
ttv::ads::AdError::NonLinearIncompatibleType
coretypes.h
ttv::ads::AdError::NonLinearAdsError
ttv::ads::AdError::VASTSchemaValidationError
ttv::ads::AdError::CompanionIncompatibleDimension
ttv::ads::AdError::UnexpectedSize
ttv::ads::AdError::CompanionResourceFetchFailed
ttv::ads::AdError::MediaFileNotFound
ttv::ads::AdError::VASTUnsupportedVersion
ttv::ads::AdError::None
Generated by
1.8.13