/
VpnManager.xml
1314 lines (1300 loc) · 84.9 KB
/
VpnManager.xml
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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="VpnManager" FullName="Android.Net.VpnManager">
<TypeSignature Language="C#" Value="public class VpnManager : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit VpnManager extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Net.VpnManager" />
<TypeSignature Language="F#" Value="type VpnManager = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/net/VpnManager", ApiSince=30, DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/net/VpnManager", ApiSince=30, DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>This class provides an interface for apps to manage platform VPN profiles</summary>
<remarks>
<para>This class provides an interface for apps to manage platform VPN profiles</para>
<para>Apps can use this API to provide profiles with which the platform can set up a VPN without
further app intermediation. When a VPN profile is present and the app is selected as an always-on
VPN, the platform will directly trigger the negotiation of the VPN without starting or waking the
app (unlike VpnService).</para>
<para>VPN apps using supported protocols should preferentially use this API over the <c>VpnService</c> API for ease-of-development and reduced maintenance burden. This also give the user
the guarantee that VPN network traffic is not subjected to on-device packet interception.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager" title="Reference documentation">Java documentation for <code>android.net.VpnManager</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected VpnManager (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Net.VpnManager.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Net.VpnManager : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.VpnManager" Usage="new Android.Net.VpnManager (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">To be added.</param>
<param name="transfer">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ActionVpnManagerEvent">
<MemberSignature Language="C#" Value="public const string ActionVpnManagerEvent;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ActionVpnManagerEvent" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ActionVpnManagerEvent" />
<MemberSignature Language="F#" Value="val mutable ActionVpnManagerEvent : string" Usage="Android.Net.VpnManager.ActionVpnManagerEvent" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ACTION_VPN_MANAGER_EVENT", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ACTION_VPN_MANAGER_EVENT", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Action sent in <c>android.content.Intent</c>s to VpnManager clients when an event occurred.</summary>
<remarks>
<para>Action sent in <c>android.content.Intent</c>s to VpnManager clients when an event occurred.</para>
<para>If the provisioning application declares a service handling this intent action, but is not
already running, it will be started. Upon starting, the application is granted a short grace
period to run in the background even while the device is idle to handle any potential
failures. Applications requiring long-running actions triggered by one of these events should
declare a foreground service to prevent being killed once the grace period expires.
This action will have a category of either <c>#CATEGORY_EVENT_IKE_ERROR</c>,
<c>#CATEGORY_EVENT_NETWORK_ERROR</c>, or <c>#CATEGORY_EVENT_DEACTIVATED_BY_USER</c>,
that the app can use to filter events it's interested in reacting to.
It will also contain the following extras :
<ul>
<li><c>#EXTRA_SESSION_KEY</c>, a <c>String</c> for the session key, as returned by
<c>#startProvisionedVpnProfileSession</c>.
<li><c>#EXTRA_TIMESTAMP_MILLIS</c>, a long for the timestamp at which the error occurred,
in milliseconds since the epoch, as returned by
<c>java.lang.System#currentTimeMillis</c>.
<li><c>#EXTRA_UNDERLYING_NETWORK</c>, a <c>Network</c> containing the underlying
network at the time the error occurred, or null if none. Note that this network
may have disconnected already.
<li><c>#EXTRA_UNDERLYING_NETWORK_CAPABILITIES</c>, a <c>NetworkCapabilities</c> for
the underlying network at the time the error occurred.
<li><c>#EXTRA_UNDERLYING_LINK_PROPERTIES</c>, a <c>LinkProperties</c> for the underlying
network at the time the error occurred.
</ul>
When this event is an error, either <c>#CATEGORY_EVENT_IKE_ERROR</c> or
<c>#CATEGORY_EVENT_NETWORK_ERROR</c>, the following extras will be populated :
<ul>
<li><c>#EXTRA_ERROR_CLASS</c>, an <c>int</c> for the class of error, either
<c>#ERROR_CLASS_RECOVERABLE</c> or <c>#ERROR_CLASS_NOT_RECOVERABLE</c>.
<li><c>#EXTRA_ERROR_CODE</c>, an <c>int</c> error code specific to the error. See
<c>#EXTRA_ERROR_CODE</c> for details.
</ul></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#ACTION_VPN_MANAGER_EVENT" title="Reference documentation">Java documentation for <code>android.net.VpnManager.ACTION_VPN_MANAGER_EVENT</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CategoryEventAlwaysOnStateChanged">
<MemberSignature Language="C#" Value="public const string CategoryEventAlwaysOnStateChanged;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string CategoryEventAlwaysOnStateChanged" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.CategoryEventAlwaysOnStateChanged" />
<MemberSignature Language="F#" Value="val mutable CategoryEventAlwaysOnStateChanged : string" Usage="Android.Net.VpnManager.CategoryEventAlwaysOnStateChanged" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CATEGORY_EVENT_ALWAYS_ON_STATE_CHANGED", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CATEGORY_EVENT_ALWAYS_ON_STATE_CHANGED", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The always-on state of this VPN was changed</summary>
<remarks>
<para>The always-on state of this VPN was changed</para>
<para>This may be the result of a user changing VPN settings, or a Device Policy Manager app
having changed the VPN policy.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#CATEGORY_EVENT_ALWAYS_ON_STATE_CHANGED" title="Reference documentation">Java documentation for <code>android.net.VpnManager.CATEGORY_EVENT_ALWAYS_ON_STATE_CHANGED</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CategoryEventDeactivatedByUser">
<MemberSignature Language="C#" Value="public const string CategoryEventDeactivatedByUser;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string CategoryEventDeactivatedByUser" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.CategoryEventDeactivatedByUser" />
<MemberSignature Language="F#" Value="val mutable CategoryEventDeactivatedByUser : string" Usage="Android.Net.VpnManager.CategoryEventDeactivatedByUser" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CATEGORY_EVENT_DEACTIVATED_BY_USER", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CATEGORY_EVENT_DEACTIVATED_BY_USER", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The user deactivated the VPN.</summary>
<remarks>
<para>The user deactivated the VPN.</para>
<para>This can happen either when the user turns the VPN off explicitly, or when they select
a different VPN provider.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#CATEGORY_EVENT_DEACTIVATED_BY_USER" title="Reference documentation">Java documentation for <code>android.net.VpnManager.CATEGORY_EVENT_DEACTIVATED_BY_USER</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CategoryEventIkeError">
<MemberSignature Language="C#" Value="public const string CategoryEventIkeError;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string CategoryEventIkeError" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.CategoryEventIkeError" />
<MemberSignature Language="F#" Value="val mutable CategoryEventIkeError : string" Usage="Android.Net.VpnManager.CategoryEventIkeError" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CATEGORY_EVENT_IKE_ERROR", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CATEGORY_EVENT_IKE_ERROR", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>An IKE protocol error occurred.</summary>
<remarks>
<para>An IKE protocol error occurred.
Codes (in <c>#EXTRA_ERROR_CODE</c>) are the codes from
<c>android.net.ipsec.ike.exceptions.IkeProtocolException</c>, as defined by IANA in
"IKEv2 Notify Message Types - Error Types".</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#CATEGORY_EVENT_IKE_ERROR" title="Reference documentation">Java documentation for <code>android.net.VpnManager.CATEGORY_EVENT_IKE_ERROR</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CategoryEventNetworkError">
<MemberSignature Language="C#" Value="public const string CategoryEventNetworkError;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string CategoryEventNetworkError" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.CategoryEventNetworkError" />
<MemberSignature Language="F#" Value="val mutable CategoryEventNetworkError : string" Usage="Android.Net.VpnManager.CategoryEventNetworkError" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CATEGORY_EVENT_NETWORK_ERROR", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CATEGORY_EVENT_NETWORK_ERROR", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>A network error occurred.</summary>
<remarks>
<para>A network error occurred.
Error codes (in <c>#EXTRA_ERROR_CODE</c>) are ERROR_CODE_NETWORK_*.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#CATEGORY_EVENT_NETWORK_ERROR" title="Reference documentation">Java documentation for <code>android.net.VpnManager.CATEGORY_EVENT_NETWORK_ERROR</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="DeleteProvisionedVpnProfile">
<MemberSignature Language="C#" Value="public virtual void DeleteProvisionedVpnProfile ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DeleteProvisionedVpnProfile() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Net.VpnManager.DeleteProvisionedVpnProfile" />
<MemberSignature Language="F#" Value="abstract member DeleteProvisionedVpnProfile : unit -> unit
override this.DeleteProvisionedVpnProfile : unit -> unit" Usage="vpnManager.DeleteProvisionedVpnProfile " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("deleteProvisionedVpnProfile", "()V", "GetDeleteProvisionedVpnProfileHandler", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("deleteProvisionedVpnProfile", "()V", "GetDeleteProvisionedVpnProfileHandler", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Delete the VPN profile configuration that was provisioned by the calling app</summary>
<remarks>
<para>Delete the VPN profile configuration that was provisioned by the calling app</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#deleteProvisionedVpnProfile()" title="Reference documentation">Java documentation for <code>android.net.VpnManager.deleteProvisionedVpnProfile()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ErrorClassNotRecoverable">
<MemberSignature Language="C#" Value="public const Android.Net.VpnErrorClass ErrorClassNotRecoverable = 1;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Net.VpnErrorClass ErrorClassNotRecoverable = (1)" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ErrorClassNotRecoverable" />
<MemberSignature Language="F#" Value="val mutable ErrorClassNotRecoverable : Android.Net.VpnErrorClass" Usage="Android.Net.VpnManager.ErrorClassNotRecoverable" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ERROR_CLASS_NOT_RECOVERABLE", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ERROR_CLASS_NOT_RECOVERABLE", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorClass enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorClass enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Net.VpnErrorClass</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>
<c>#EXTRA_ERROR_CLASS</c> coding for a non-recoverable error.</summary>
<remarks>
<para>
<c>#EXTRA_ERROR_CLASS</c> coding for a non-recoverable error.
This error is fatal, e.g. configuration error. The stack will not retry connection.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#ERROR_CLASS_NOT_RECOVERABLE" title="Reference documentation">Java documentation for <code>android.net.VpnManager.ERROR_CLASS_NOT_RECOVERABLE</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ErrorClassRecoverable">
<MemberSignature Language="C#" Value="public const Android.Net.VpnErrorClass ErrorClassRecoverable = 2;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Net.VpnErrorClass ErrorClassRecoverable = (2)" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ErrorClassRecoverable" />
<MemberSignature Language="F#" Value="val mutable ErrorClassRecoverable : Android.Net.VpnErrorClass" Usage="Android.Net.VpnManager.ErrorClassRecoverable" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ERROR_CLASS_RECOVERABLE", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ERROR_CLASS_RECOVERABLE", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorClass enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorClass enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Net.VpnErrorClass</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>
<c>#EXTRA_ERROR_CLASS</c> coding for a recoverable error.</summary>
<remarks>
<para>
<c>#EXTRA_ERROR_CLASS</c> coding for a recoverable error.
The stack experienced an error but will retry with exponential backoff, e.g. network timeout.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#ERROR_CLASS_RECOVERABLE" title="Reference documentation">Java documentation for <code>android.net.VpnManager.ERROR_CLASS_RECOVERABLE</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ErrorCodeNetworkIo">
<MemberSignature Language="C#" Value="public const Android.Net.VpnErrorCode ErrorCodeNetworkIo = 3;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Net.VpnErrorCode ErrorCodeNetworkIo = (3)" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ErrorCodeNetworkIo" />
<MemberSignature Language="F#" Value="val mutable ErrorCodeNetworkIo : Android.Net.VpnErrorCode" Usage="Android.Net.VpnManager.ErrorCodeNetworkIo" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ERROR_CODE_NETWORK_IO", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ERROR_CODE_NETWORK_IO", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Net.VpnErrorCode</ReturnType>
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>An <c>#EXTRA_ERROR_CODE</c> for <c>#CATEGORY_EVENT_NETWORK_ERROR</c> indicating an
input/output error.</summary>
<remarks>
<para>An <c>#EXTRA_ERROR_CODE</c> for <c>#CATEGORY_EVENT_NETWORK_ERROR</c> indicating an
input/output error.
This code happens when reading or writing to sockets on the underlying networks was
terminated by an I/O error. <c>IOException</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#ERROR_CODE_NETWORK_IO" title="Reference documentation">Java documentation for <code>android.net.VpnManager.ERROR_CODE_NETWORK_IO</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ErrorCodeNetworkLost">
<MemberSignature Language="C#" Value="public const Android.Net.VpnErrorCode ErrorCodeNetworkLost = 2;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Net.VpnErrorCode ErrorCodeNetworkLost = (2)" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ErrorCodeNetworkLost" />
<MemberSignature Language="F#" Value="val mutable ErrorCodeNetworkLost : Android.Net.VpnErrorCode" Usage="Android.Net.VpnManager.ErrorCodeNetworkLost" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ERROR_CODE_NETWORK_LOST", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ERROR_CODE_NETWORK_LOST", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Net.VpnErrorCode</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>An <c>#EXTRA_ERROR_CODE</c> for <c>#CATEGORY_EVENT_NETWORK_ERROR</c> indicating that
network connectivity was lost.</summary>
<remarks>
<para>An <c>#EXTRA_ERROR_CODE</c> for <c>#CATEGORY_EVENT_NETWORK_ERROR</c> indicating that
network connectivity was lost.
The most common reason for this error is that the underlying network was disconnected,
<c>android.net.ipsec.ike.exceptions.IkeNetworkLostException</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#ERROR_CODE_NETWORK_LOST" title="Reference documentation">Java documentation for <code>android.net.VpnManager.ERROR_CODE_NETWORK_LOST</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ErrorCodeNetworkProtocolTimeout">
<MemberSignature Language="C#" Value="public const Android.Net.VpnErrorCode ErrorCodeNetworkProtocolTimeout = 1;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Net.VpnErrorCode ErrorCodeNetworkProtocolTimeout = (1)" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ErrorCodeNetworkProtocolTimeout" />
<MemberSignature Language="F#" Value="val mutable ErrorCodeNetworkProtocolTimeout : Android.Net.VpnErrorCode" Usage="Android.Net.VpnManager.ErrorCodeNetworkProtocolTimeout" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Net.VpnErrorCode</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>An <c>#EXTRA_ERROR_CODE</c> for <c>#CATEGORY_EVENT_NETWORK_ERROR</c> indicating a timeout.</summary>
<remarks>
<para>An <c>#EXTRA_ERROR_CODE</c> for <c>#CATEGORY_EVENT_NETWORK_ERROR</c> indicating a timeout.
For Ikev2 VPNs, this happens typically after a retransmission failure.
<c>android.net.ipsec.ike.exceptions.IkeTimeoutException</c></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT" title="Reference documentation">Java documentation for <code>android.net.VpnManager.ERROR_CODE_NETWORK_PROTOCOL_TIMEOUT</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ErrorCodeNetworkUnknownHost">
<MemberSignature Language="C#" Value="public const Android.Net.VpnErrorCode ErrorCodeNetworkUnknownHost = 0;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Net.VpnErrorCode ErrorCodeNetworkUnknownHost = (0)" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ErrorCodeNetworkUnknownHost" />
<MemberSignature Language="F#" Value="val mutable ErrorCodeNetworkUnknownHost : Android.Net.VpnErrorCode" Usage="Android.Net.VpnManager.ErrorCodeNetworkUnknownHost" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ERROR_CODE_NETWORK_UNKNOWN_HOST", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ERROR_CODE_NETWORK_UNKNOWN_HOST", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.VpnErrorCode enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Net.VpnErrorCode</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>An <c>#EXTRA_ERROR_CODE</c> for <c>#CATEGORY_EVENT_NETWORK_ERROR</c> to indicate that the
network host isn't known.</summary>
<remarks>
<para>An <c>#EXTRA_ERROR_CODE</c> for <c>#CATEGORY_EVENT_NETWORK_ERROR</c> to indicate that the
network host isn't known.
This happens when domain name resolution could not resolve an IP address for the
specified host. <c>java.net.UnknownHostException</c></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#ERROR_CODE_NETWORK_UNKNOWN_HOST" title="Reference documentation">Java documentation for <code>android.net.VpnManager.ERROR_CODE_NETWORK_UNKNOWN_HOST</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ExtraErrorClass">
<MemberSignature Language="C#" Value="public const string ExtraErrorClass;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraErrorClass" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ExtraErrorClass" />
<MemberSignature Language="F#" Value="val mutable ExtraErrorClass : string" Usage="Android.Net.VpnManager.ExtraErrorClass" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_ERROR_CLASS", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_ERROR_CLASS", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Extra for the error class, as an <c>int</c>.</summary>
<remarks>
<para>Extra for the error class, as an <c>int</c>.
This is always either <c>#ERROR_CLASS_NOT_RECOVERABLE</c> or
<c>#ERROR_CLASS_RECOVERABLE</c>. This extra is only populated for error categories.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#EXTRA_ERROR_CLASS" title="Reference documentation">Java documentation for <code>android.net.VpnManager.EXTRA_ERROR_CLASS</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ExtraErrorCode">
<MemberSignature Language="C#" Value="public const string ExtraErrorCode;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraErrorCode" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ExtraErrorCode" />
<MemberSignature Language="F#" Value="val mutable ExtraErrorCode : string" Usage="Android.Net.VpnManager.ExtraErrorCode" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_ERROR_CODE", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_ERROR_CODE", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Extra for an error code, as an <c>int</c>.</summary>
<remarks>
<para>Extra for an error code, as an <c>int</c>.
<ul>
<li>For <c>#CATEGORY_EVENT_NETWORK_ERROR</c>, this is one of the
<c>ERROR_CODE_NETWORK_*</c> constants.
<li>For <c>#CATEGORY_EVENT_IKE_ERROR</c>, this is one of values defined in
<c>android.net.ipsec.ike.exceptions.IkeProtocolException</c>.ERROR_TYPE_*.
</ul>
For non-error categories, this extra is not populated.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#EXTRA_ERROR_CODE" title="Reference documentation">Java documentation for <code>android.net.VpnManager.EXTRA_ERROR_CODE</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ExtraSessionKey">
<MemberSignature Language="C#" Value="public const string ExtraSessionKey;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraSessionKey" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ExtraSessionKey" />
<MemberSignature Language="F#" Value="val mutable ExtraSessionKey : string" Usage="Android.Net.VpnManager.ExtraSessionKey" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_SESSION_KEY", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_SESSION_KEY", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The key of the session that experienced this event, as a <c>String</c>.</summary>
<remarks>
<para>The key of the session that experienced this event, as a <c>String</c>.
This is the same key that was returned by <c>#startProvisionedVpnProfileSession</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#EXTRA_SESSION_KEY" title="Reference documentation">Java documentation for <code>android.net.VpnManager.EXTRA_SESSION_KEY</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ExtraTimestampMillis">
<MemberSignature Language="C#" Value="public const string ExtraTimestampMillis;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraTimestampMillis" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ExtraTimestampMillis" />
<MemberSignature Language="F#" Value="val mutable ExtraTimestampMillis : string" Usage="Android.Net.VpnManager.ExtraTimestampMillis" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_TIMESTAMP_MILLIS", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_TIMESTAMP_MILLIS", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>A <c>long</c> timestamp containing the time at which the event occurred.</summary>
<remarks>
<para>A <c>long</c> timestamp containing the time at which the event occurred.
This is a number of milliseconds since the epoch, suitable to be compared with
<c>java.lang.System#currentTimeMillis</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#EXTRA_TIMESTAMP_MILLIS" title="Reference documentation">Java documentation for <code>android.net.VpnManager.EXTRA_TIMESTAMP_MILLIS</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ExtraUnderlyingLinkProperties">
<MemberSignature Language="C#" Value="public const string ExtraUnderlyingLinkProperties;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraUnderlyingLinkProperties" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ExtraUnderlyingLinkProperties" />
<MemberSignature Language="F#" Value="val mutable ExtraUnderlyingLinkProperties : string" Usage="Android.Net.VpnManager.ExtraUnderlyingLinkProperties" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_UNDERLYING_LINK_PROPERTIES", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_UNDERLYING_LINK_PROPERTIES", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The <c>LinkProperties</c> of the underlying network when the event occurred.</summary>
<remarks>
<para>The <c>LinkProperties</c> of the underlying network when the event occurred.</para>
<para>This extra will be null if there was no underlying network at the time of the event, or
the underlying network has no bearing on the event, as in the case of:
<ul>
<li>CATEGORY_EVENT_DEACTIVATED_BY_USER
<li>CATEGORY_EVENT_ALWAYS_ON_STATE_CHANGED
</ul></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#EXTRA_UNDERLYING_LINK_PROPERTIES" title="Reference documentation">Java documentation for <code>android.net.VpnManager.EXTRA_UNDERLYING_LINK_PROPERTIES</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ExtraUnderlyingNetwork">
<MemberSignature Language="C#" Value="public const string ExtraUnderlyingNetwork;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraUnderlyingNetwork" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ExtraUnderlyingNetwork" />
<MemberSignature Language="F#" Value="val mutable ExtraUnderlyingNetwork : string" Usage="Android.Net.VpnManager.ExtraUnderlyingNetwork" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_UNDERLYING_NETWORK", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_UNDERLYING_NETWORK", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The network that was underlying the VPN when the event occurred, as a <c>Network</c>.</summary>
<remarks>
<para>The network that was underlying the VPN when the event occurred, as a <c>Network</c>.</para>
<para>This extra will be null if there was no underlying network at the time of the event, or
the underlying network has no bearing on the event, as in the case of:
<ul>
<li>CATEGORY_EVENT_DEACTIVATED_BY_USER
<li>CATEGORY_EVENT_ALWAYS_ON_STATE_CHANGED
</ul></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#EXTRA_UNDERLYING_NETWORK" title="Reference documentation">Java documentation for <code>android.net.VpnManager.EXTRA_UNDERLYING_NETWORK</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ExtraUnderlyingNetworkCapabilities">
<MemberSignature Language="C#" Value="public const string ExtraUnderlyingNetworkCapabilities;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraUnderlyingNetworkCapabilities" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ExtraUnderlyingNetworkCapabilities" />
<MemberSignature Language="F#" Value="val mutable ExtraUnderlyingNetworkCapabilities : string" Usage="Android.Net.VpnManager.ExtraUnderlyingNetworkCapabilities" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_UNDERLYING_NETWORK_CAPABILITIES", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_UNDERLYING_NETWORK_CAPABILITIES", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The <c>NetworkCapabilities</c> of the underlying network when the event occurred.</summary>
<remarks>
<para>The <c>NetworkCapabilities</c> of the underlying network when the event occurred.</para>
<para>This extra will be null if there was no underlying network at the time of the event, or
the underlying network has no bearing on the event, as in the case of:
<ul>
<li>CATEGORY_EVENT_DEACTIVATED_BY_USER
<li>CATEGORY_EVENT_ALWAYS_ON_STATE_CHANGED
</ul></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#EXTRA_UNDERLYING_NETWORK_CAPABILITIES" title="Reference documentation">Java documentation for <code>android.net.VpnManager.EXTRA_UNDERLYING_NETWORK_CAPABILITIES</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ExtraVpnProfileState">
<MemberSignature Language="C#" Value="public const string ExtraVpnProfileState;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraVpnProfileState" />
<MemberSignature Language="DocId" Value="F:Android.Net.VpnManager.ExtraVpnProfileState" />
<MemberSignature Language="F#" Value="val mutable ExtraVpnProfileState : string" Usage="Android.Net.VpnManager.ExtraVpnProfileState" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_VPN_PROFILE_STATE", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_VPN_PROFILE_STATE", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The VpnProfileState at the time that this event occurred.</summary>
<remarks>
<para>The VpnProfileState at the time that this event occurred.</para>
<para>This extra may be null if the VPN was revoked by the user, or the profile was deleted.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/net/VpnManager#EXTRA_VPN_PROFILE_STATE" title="Reference documentation">Java documentation for <code>android.net.VpnManager.EXTRA_VPN_PROFILE_STATE</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>