forked from xamarin/GoogleApisForiOSComponents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnums.cs
153 lines (135 loc) · 2.79 KB
/
Enums.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
using System;
using System.Runtime.InteropServices;
using CoreGraphics;
using Foundation;
using ObjCRuntime;
namespace Google.MobileAds
{
[Native]
public enum AdFormat : long {
Banner,
Interstitial,
Rewarded,
Native
}
public enum AdLoaderAdType
{
// extern NSString *const kGADAdLoaderAdTypeNativeAppInstall;
[Field ("kGADAdLoaderAdTypeNativeAppInstall", "__Internal")]
NativeAppInstall,
// extern NSString *const kGADAdLoaderAdTypeNativeContent;
[Field ("kGADAdLoaderAdTypeNativeContent", "__Internal")]
NativeContent,
// extern NSString *const kGADAdLoaderAdTypeNativeCustomTemplate;
[Field ("kGADAdLoaderAdTypeNativeCustomTemplate", "__Internal")]
NativeCustomTemplate,
// extern NSString *const kGADAdLoaderAdTypeDFPBanner;
[Field ("kGADAdLoaderAdTypeDFPBanner", "__Internal")]
DfpBanner,
// AD_EXTERN GADAdLoaderAdType const kGADAdLoaderAdTypeUnifiedNative;
[Field ("kGADAdLoaderAdTypeUnifiedNative", "__Internal")]
UnifiedNative
}
[Native]
public enum AdValuePrecision : long
{
Unknown = 0,
Estimated = 1,
PublisherProvided = 2,
Precise = 3
}
[Native]
public enum PresentationErrorCode : long
{
AdNotReady = 15,
AdTooLarge = 16,
Internal = 17,
AdAlreadyUsed = 18
}
//GADRequest file
[Native]
public enum Gender : long
{
Unknown,
Male,
Female
}
//GADRequestError file
[Native]
public enum ErrorCode : long
{
InvalidRequest = 0,
NoFill = 1,
NetworkError = 2,
ServerError = 3,
OSVersionTooLow = 4,
Timeout = 5,
[Obsolete ("Use AdAlreadyUsed enum value instead.")]
InterstitialAlreadyUsed = AdAlreadyUsed,
MediationDataError = 7,
MediationAdapterError = 8,
MediationInvalidAdSize = 10,
InternalError = 11,
InvalidArgument = 12,
ReceivedInvalidResponse = 13,
[Obsolete ("Use AdAlreadyUsed enum value instead.")]
RewardedAdAlreadyUsed = AdAlreadyUsed,
[Obsolete ("Use NoFill enum value instead.")]
MediationNoFill = NoFill,
AdAlreadyUsed = 19,
ApplicationIdentifierMissing = 20
}
[Obsolete]
[Native]
public enum InAppPurchaseStatus : long
{
Error = 0,
Successful = 1,
Cancel = 2,
InvalidProduct = 3
}
[Native]
public enum MediaAspectRatio : long {
Unknown = 0,
Any = 1,
Landscape = 2,
Portrait = 3,
Square = 4
}
[Native]
public enum AdapterInitializationState : long {
NotReady = 0,
Ready = 1
}
[Native]
public enum NativeAdImageAdLoaderOptionsOrientation : long
{
Any = 1,
Portrait = 2,
Landscape = 3
}
[Native]
public enum AdChoicesPosition : long
{
TopRightCorner,
TopLeftCorner,
BottomRightCorner,
BottomLeftCorner
}
}
namespace Google.MobileAds.Consent {
[Native]
public enum ConsentStatus : long
{
Unknown = 0,
NonPersonalized = 1,
Personalized = 2
}
[Native]
public enum DebugGeography : long
{
Disabled = 0,
Eea = 1,
NotEea = 2
}
}