forked from xamarin/GoogleApisForiOSComponents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnums.cs
275 lines (231 loc) · 5.86 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
using System;
using ObjCRuntime;
using Foundation;
namespace Firebase.MLKit.Vision {
[Native]
public enum VisionBarcodeValueType : long {
Unknown,
ContactInfo,
Email,
Isbn,
Phone,
Product,
Sms,
Text,
Url,
WiFi,
GeographicCoordinates,
CalendarEvent,
DriversLicense
}
[Native]
public enum VisionBarcodeAddressType : long {
Unknown,
Work,
Home
}
[Native]
public enum VisionBarcodeEmailType : long {
Unknown,
Work,
Home
}
[Native]
public enum VisionBarcodePhoneType : long {
Unknown,
Work,
Home,
Fax,
Mobile
}
[Native]
public enum VisionBarcodeWiFiEncryptionType : long {
Unknown,
Open,
Wpa,
Wep
}
[Native]
public enum VisionBarcodeFormat : long {
UnKnown = 0,
All = 65535,
Code128 = 1,
Code39 = 2,
Code93 = 4,
CodaBar = 8,
DataMatrix = 16,
Ean13 = 32,
Ean8 = 64,
Itf = 128,
QRCode = 256,
Upca = 512,
Upce = 1024,
Pdf417 = 2048,
Aztec = 4096
}
[Native]
public enum VisionCloudModelType : long {
Stable,
Latest
}
[Native]
public enum VisionCloudTextModelType : ulong {
Sparse,
Dense
}
[Native]
public enum VisionDocumentTextBlockType : long {
Unknown,
Barcode,
Picture,
Ruler,
Table,
Text
}
public enum FaceContourType {
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeAll;
[Field ("FIRFaceContourTypeAll", "__Internal")]
All,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeFace;
[Field ("FIRFaceContourTypeFace", "__Internal")]
Face,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeLeftEyebrowTop;
[Field ("FIRFaceContourTypeLeftEyebrowTop", "__Internal")]
LeftEyebrowTop,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeLeftEyebrowBottom;
[Field ("FIRFaceContourTypeLeftEyebrowBottom", "__Internal")]
LeftEyebrowBottom,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeRightEyebrowTop;
[Field ("FIRFaceContourTypeRightEyebrowTop", "__Internal")]
RightEyebrowTop,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeRightEyebrowBottom;
[Field ("FIRFaceContourTypeRightEyebrowBottom", "__Internal")]
RightEyebrowBottom,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeLeftEye;
[Field ("FIRFaceContourTypeLeftEye", "__Internal")]
LeftEye,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeRightEye;
[Field ("FIRFaceContourTypeRightEye", "__Internal")]
RightEye,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeUpperLipTop;
[Field ("FIRFaceContourTypeUpperLipTop", "__Internal")]
UpperLipTop,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeUpperLipBottom;
[Field ("FIRFaceContourTypeUpperLipBottom", "__Internal")]
UpperLipBottom,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeLowerLipTop;
[Field ("FIRFaceContourTypeLowerLipTop", "__Internal")]
LowerLipTop,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeLowerLipBottom;
[Field ("FIRFaceContourTypeLowerLipBottom", "__Internal")]
LowerLipBottom,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeNoseBridge;
[Field ("FIRFaceContourTypeNoseBridge", "__Internal")]
NoseBridge,
// extern const FIRFaceContourType _Nonnull FIRFaceContourTypeNoseBottom;
[Field ("FIRFaceContourTypeNoseBottom", "__Internal")]
NoseBottom
}
[Native]
public enum VisionFaceDetectorClassificationMode : ulong {
None = 1,
All
}
[Native]
public enum VisionFaceDetectorPerformanceMode : ulong {
Fast = 1,
Accurate
}
[Native]
public enum VisionFaceDetectorLandmarkMode : ulong {
None = 1,
All
}
[Native]
public enum VisionFaceDetectorContourMode : ulong {
None = 1,
All
}
public enum FaceLandmarkType {
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeMouthBottom;
[Field ("FIRFaceLandmarkTypeMouthBottom", "__Internal")]
MouthBottom,
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeMouthRight;
[Field ("FIRFaceLandmarkTypeMouthRight", "__Internal")]
MouthRight,
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeMouthLeft;
[Field ("FIRFaceLandmarkTypeMouthLeft", "__Internal")]
MouthLeft,
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeLeftEar;
[Field ("FIRFaceLandmarkTypeLeftEar", "__Internal")]
LeftEar,
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeRightEar;
[Field ("FIRFaceLandmarkTypeRightEar", "__Internal")]
RightEar,
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeLeftEye;
[Field ("FIRFaceLandmarkTypeLeftEye", "__Internal")]
LeftEye,
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeRightEye;
[Field ("FIRFaceLandmarkTypeRightEye", "__Internal")]
RightEye,
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeLeftCheek;
[Field ("FIRFaceLandmarkTypeLeftCheek", "__Internal")]
LeftCheek,
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeRightCheek;
[Field ("FIRFaceLandmarkTypeRightCheek", "__Internal")]
RightCheek,
// extern const FIRFaceLandmarkType _Nonnull FIRFaceLandmarkTypeNoseBase;
[Field ("FIRFaceLandmarkTypeNoseBase", "__Internal")]
NoseBase
}
[Native]
public enum VisionImageLabelerType : ulong
{
OnDevice,
Cloud,
OnDeviceAutoML
}
[Native]
public enum VisionDetectorImageOrientation : ulong {
TopLeft = 1,
TopRight,
BottomRight,
BottomLeft,
LeftTop,
RightTop,
RightBottom,
LeftBottom
}
[Native]
public enum VisionTextRecognizedBreakType : long {
Unknown,
LineWrap,
Hyphen,
LineBreak,
Space,
SureSpace
}
[Native]
public enum VisionTextRecognizerType : long {
OnDevice,
Cloud
}
}
namespace Firebase.MLKit.Vision.ObjectDetection {
[Native]
public enum VisionObjectCategory : long
{
Unknown,
HomeGoods,
FashionGoods,
Food,
Places,
Plants
}
[Native]
public enum VisionObjectDetectorMode : long
{
SingleImage,
Stream
}
}