-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAndroidapi.JNI.net.wifi.pas
1222 lines (1103 loc) · 68.3 KB
/
Androidapi.JNI.net.wifi.pas
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
{ *********************************************************************
*
* Autor: Efimov A.A.
* E-mail: [email protected]
* GitHub: https://github.com/AndrewEfimov
* Platform: Android (package android.net.wifi)
* IDE: Delphi 10.1 Berlin +
* Change: 21.10.2019 All API (Include API 29)
*
******************************************************************** }
unit Androidapi.JNI.net.wifi;
interface
uses
Androidapi.JNIBridge,
Androidapi.JNI.Java.Security,
Androidapi.JNI.JavaTypes,
Androidapi.JNI.GraphicsContentViewText,
Androidapi.JNI.Os,
Androidapi.JNI.net,
Androidapi.JNI.Java.net;
type
// ===== Forward declarations =====
{ PACKAGE android.net }
JNetworkInfo_DetailedState = interface; // API 1 - Deprecated API 29 - android.net.NetworkInfo$DetailedState
JDhcpInfo = interface; // API 1 - android.net.DhcpInfo
JMacAddress = interface; // API 28 - android.net.MacAddress
{ PACKAGE android.net.wifi.hotspot2 }
JPasspointConfiguration = interface; // API 26 - android.net.wifi.hotspot2.PasspointConfiguration
{ PACKAGE android.net.wifi }
JScanResult = interface; // API 1 - android.net.wifi.ScanResult
JSupplicantState = interface; // API 1 - android.net.wifi.SupplicantState
JWifiConfiguration = interface; // API 1 - Deprecated API 29 - android.net.wifi.WifiConfiguration
JWifiConfiguration_AuthAlgorithm = interface; // API 1 - Deprecated API 29 - android.net.wifi.WifiConfiguration$AuthAlgorithm
JWifiConfiguration_GroupCipher = interface; // API 1 - Deprecated API 29 - android.net.wifi.WifiConfiguration$GroupCipher
JWifiConfiguration_GroupMgmtCipher = interface; // API 29 - android.net.wifi.WifiConfiguration$GroupMgmtCipher
JWifiConfiguration_KeyMgmt = interface; // API 1 - Deprecated API 29 - android.net.wifi.WifiConfiguration$KeyMgmt
JWifiConfiguration_PairwiseCipher = interface; // API 1 - Deprecated API 29 - android.net.wifi.WifiConfiguration$PairwiseCipher
JWifiConfiguration_Protocol = interface; // API 1 - Deprecated API 29 - android.net.wifi.WifiConfiguration$Protocol
JWifiConfiguration_Status = interface; // API 1 - Deprecated API 29 - android.net.wifi.WifiConfiguration$Status
JWifiEnterpriseConfig = interface; // API 18 - android.net.wifi.WifiEnterpriseConfig
JWifiEnterpriseConfig_Eap = interface; // API 18 - android.net.wifi.WifiEnterpriseConfig$Eap
JWifiEnterpriseConfig_Phase2 = interface; // API 18 - android.net.wifi.WifiEnterpriseConfig$Phase2
JWifiInfo = interface; // API 1 - android.net.wifi.WifiInfo
JWifiManager = interface; // API 1 - android.net.wifi.WifiManager
JWifiManager_LocalOnlyHotspotCallback = interface; // API 26 - android.net.wifi.WifiManager$LocalOnlyHotspotCallback
JWifiManager_LocalOnlyHotspotReservation = interface; // API 26 - android.net.wifi.WifiManager$LocalOnlyHotspotReservation
JWifiManager_MulticastLock = interface; // API 4 - android.net.wifi.WifiManager$MulticastLock
JWifiManager_WifiLock = interface; // API 1 - android.net.wifi.WifiManager$WifiLock
JWifiManager_WpsCallback = interface; // API 21 - Deprecated API 28 - android.net.wifi.WifiManager$WpsCallback
JWifiNetworkSpecifier = interface; // API 29 - android.net.wifi.WifiNetworkSpecifier
JWifiNetworkSpecifier_Builder = interface; // API 29 - android.net.wifi.WifiNetworkSpecifier$Builder
JWifiNetworkSuggestion = interface; // API 29 - android.net.wifi.WifiNetworkSuggestion
JWifiNetworkSuggestion_Builder = interface; // API 29 - android.net.wifi.WifiNetworkSuggestion$Builder
JWpsInfo = interface; // API 14 - Deprecated API 28 - android.net.wifi.WpsInfo
{ PACKAGE android.net.wifi.hotspot2.pps }
JCredential = interface; // API 26 - android.net.wifi.hotspot2.pps.Credential
JCredential_CertificateCredential = interface; // API 26 - android.net.wifi.hotspot2.pps.Credential$CertificateCredential
JCredential_SimCredential = interface; // API 26 - android.net.wifi.hotspot2.pps.Credential$SimCredential
JCredential_UserCredential = interface; // API 26 - android.net.wifi.hotspot2.pps.Credential$UserCredential
JHomeSp = interface; // API 26 - android.net.wifi.hotspot2.pps.HomeSp
// ===== Interface declarations =====
JNetworkInfo_DetailedStateClass = interface(JEnumClass)
['{23C018BA-81E4-4B2E-B369-9CF46B9A5DAF}']
function _GetAUTHENTICATING: JNetworkInfo_DetailedState; cdecl;
function _GetBLOCKED: JNetworkInfo_DetailedState; cdecl;
function _GetCAPTIVE_PORTAL_CHECK: JNetworkInfo_DetailedState; cdecl;
function _GetCONNECTED: JNetworkInfo_DetailedState; cdecl;
function _GetCONNECTING: JNetworkInfo_DetailedState; cdecl;
function _GetDISCONNECTED: JNetworkInfo_DetailedState; cdecl;
function _GetDISCONNECTING: JNetworkInfo_DetailedState; cdecl;
function _GetFAILED: JNetworkInfo_DetailedState; cdecl;
function _GetIDLE: JNetworkInfo_DetailedState; cdecl;
function _GetOBTAINING_IPADDR: JNetworkInfo_DetailedState; cdecl;
function _GetSCANNING: JNetworkInfo_DetailedState; cdecl;
function _GetSUSPENDED: JNetworkInfo_DetailedState; cdecl;
function _GetVERIFYING_POOR_LINK: JNetworkInfo_DetailedState; cdecl;
function valueOf(name: JString): JNetworkInfo_DetailedState; cdecl;
function values: TJavaObjectArray<JNetworkInfo_DetailedState>; cdecl;
property AUTHENTICATING: JNetworkInfo_DetailedState read _GetAUTHENTICATING; // Deprecated API 29
property BLOCKED: JNetworkInfo_DetailedState read _GetBLOCKED; // (API 14) Deprecated API 29
property CAPTIVE_PORTAL_CHECK: JNetworkInfo_DetailedState read _GetCAPTIVE_PORTAL_CHECK; // (API 17) Deprecated API 29
property CONNECTED: JNetworkInfo_DetailedState read _GetCONNECTED; // Deprecated API 29
property CONNECTING: JNetworkInfo_DetailedState read _GetCONNECTING; // Deprecated API 29
property DISCONNECTED: JNetworkInfo_DetailedState read _GetDISCONNECTED; // Deprecated API 29
property DISCONNECTING: JNetworkInfo_DetailedState read _GetDISCONNECTING; // Deprecated API 29
property FAILED: JNetworkInfo_DetailedState read _GetFAILED; // Deprecated API 29
property IDLE: JNetworkInfo_DetailedState read _GetIDLE; // Deprecated API 29
property OBTAINING_IPADDR: JNetworkInfo_DetailedState read _GetOBTAINING_IPADDR; // Deprecated API 29
property SCANNING: JNetworkInfo_DetailedState read _GetSCANNING; // Deprecated API 29
property SUSPENDED: JNetworkInfo_DetailedState read _GetSUSPENDED; // Deprecated API 29
property VERIFYING_POOR_LINK: JNetworkInfo_DetailedState read _GetVERIFYING_POOR_LINK; // (API 16) Deprecated API 29
end;
[JavaSignature('android/net/NetworkInfo$DetailedState')]
JNetworkInfo_DetailedState = interface(JEnum)
['{E755D6D6-0DB0-4231-A31B-5AA4E74A4F9F}']
end;
TJNetworkInfo_DetailedState = class(TJavaGenericImport<JNetworkInfo_DetailedStateClass, JNetworkInfo_DetailedState>)
end;
JDhcpInfoClass = interface(JObjectClass)
['{D9CB198A-3E3F-40F8-8F10-B46CF06EE695}']
function init: JDhcpInfo; cdecl;
end;
[JavaSignature('android/net/DhcpInfo')]
JDhcpInfo = interface(JObject)
['{15AE9247-20B6-412F-8A84-1A6EE8290F09}']
function _Getdns1: Integer; cdecl;
procedure _Setdns1(Value: Integer); cdecl;
function _Getdns2: Integer; cdecl;
procedure _Setdns2(Value: Integer); cdecl;
function _Getgateway: Integer; cdecl;
procedure _Setgateway(Value: Integer); cdecl;
function _GetipAddress: Integer; cdecl;
procedure _SetipAddress(Value: Integer); cdecl;
function _GetleaseDuration: Integer; cdecl;
procedure _SetleaseDuration(Value: Integer); cdecl;
function _Getnetmask: Integer; cdecl;
procedure _Setnetmask(Value: Integer); cdecl;
function _GetserverAddress: Integer; cdecl;
procedure _SetserverAddress(Value: Integer); cdecl;
function toString: JString; cdecl;
property dns1: Integer read _Getdns1 write _Setdns1;
property dns2: Integer read _Getdns2 write _Setdns2;
property gateway: Integer read _Getgateway write _Setgateway;
property ipAddress: Integer read _GetipAddress write _SetipAddress;
property leaseDuration: Integer read _GetleaseDuration write _SetleaseDuration;
property netmask: Integer read _Getnetmask write _Setnetmask;
property serverAddress: Integer read _GetserverAddress write _SetserverAddress;
end;
TJDhcpInfo = class(TJavaGenericImport<JDhcpInfoClass, JDhcpInfo>)
end;
JMacAddressClass = interface(JObjectClass)
['{30EA67AC-BB5B-464E-8808-13118887D85C}']
function _GetTYPE_BROADCAST: Integer; cdecl;
function _GetTYPE_MULTICAST: Integer; cdecl;
function _GetTYPE_UNICAST: Integer; cdecl;
function _GetBROADCAST_ADDRESS: JMacAddress; cdecl;
function _GetCREATOR: JParcelable_Creator; cdecl;
function fromBytes(addr: TJavaArray<Byte>): JMacAddress; cdecl; // API 28
function fromString(addr: JString): JMacAddress; cdecl; // API 28
property TYPE_BROADCAST: Integer read _GetTYPE_BROADCAST; // API 28
property TYPE_MULTICAST: Integer read _GetTYPE_MULTICAST; // API 28
property TYPE_UNICAST: Integer read _GetTYPE_UNICAST; // API 28
property BROADCAST_ADDRESS: JMacAddress read _GetBROADCAST_ADDRESS; // API 28
property CREATOR: JParcelable_Creator read _GetCREATOR; // API 28
end;
[JavaSignature('android/net/MacAddress')]
JMacAddress = interface(JObject)
['{27CC9FCB-1098-44EE-ADAD-0D49FA51D12B}']
function describeContents: Integer; cdecl; // API 28
function equals(o: JObject): Boolean; cdecl; // API 28
function getAddressType: Integer; cdecl; // API 28
function hashCode: Integer; cdecl; // API 28
function isLocallyAssigned: Boolean; cdecl; // API 28
function toByteArray: TJavaArray<Byte>; cdecl; // API 28
function toOuiString: JString; cdecl; // API 28
function toString: JString; cdecl; // API 28
procedure writeToParcel(out_: JParcel; flags: Integer); cdecl; // API 28
end;
TJMacAddress = class(TJavaGenericImport<JMacAddressClass, JMacAddress>)
end;
JPasspointConfigurationClass = interface(JObjectClass)
['{50518AEF-3DAA-4873-9C66-2D57D38028FF}']
function _GetCREATOR: JParcelable_Creator; cdecl;
function init: JPasspointConfiguration; cdecl; overload;
function init(source: JPasspointConfiguration): JPasspointConfiguration; cdecl; overload;
property CREATOR: JParcelable_Creator read _GetCREATOR;
end;
[JavaSignature('android/net/wifi/hotspot2/PasspointConfiguration')]
JPasspointConfiguration = interface(JObject)
['{666A4F77-BEC1-478C-8936-F03B60368907}']
function describeContents: Integer; cdecl;
function equals(thatObject: JObject): Boolean; cdecl;
function getCredential: JCredential; cdecl;
function getHomeSp: JHomeSp; cdecl;
function hashCode: Integer; cdecl;
function toString: JString; cdecl;
procedure setCredential(credential: JCredential); cdecl;
procedure setHomeSp(homeSp: JHomeSp); cdecl;
procedure writeToParcel(dest: JParcel; flags: Integer); cdecl;
end;
TJPasspointConfiguration = class(TJavaGenericImport<JPasspointConfigurationClass, JPasspointConfiguration>)
end;
JScanResultClass = interface(JObjectClass)
['{6C743694-E698-4C31-805F-13546BC872D7}']
function _GetCHANNEL_WIDTH_160MHZ: Integer; cdecl;
function _GetCHANNEL_WIDTH_20MHZ: Integer; cdecl;
function _GetCHANNEL_WIDTH_40MHZ: Integer; cdecl;
function _GetCHANNEL_WIDTH_80MHZ: Integer; cdecl;
function _GetCHANNEL_WIDTH_80MHZ_PLUS_MHZ: Integer; cdecl;
property CHANNEL_WIDTH_160MHZ: Integer read _GetCHANNEL_WIDTH_160MHZ; // API 23
property CHANNEL_WIDTH_20MHZ: Integer read _GetCHANNEL_WIDTH_20MHZ; // API 23
property CHANNEL_WIDTH_40MHZ: Integer read _GetCHANNEL_WIDTH_40MHZ; // API 23
property CHANNEL_WIDTH_80MHZ: Integer read _GetCHANNEL_WIDTH_80MHZ; // API 23
property CHANNEL_WIDTH_80MHZ_PLUS_MHZ: Integer read _GetCHANNEL_WIDTH_80MHZ_PLUS_MHZ; // API 23
end;
[JavaSignature('android/net/wifi/ScanResult')]
JScanResult = interface(JObject)
['{A50FF87A-D68A-4CCC-B186-D06D51E76145}']
function _GetBSSID: JString; cdecl;
procedure _SetBSSID(Value: JString); cdecl;
function _GetSSID: JString; cdecl;
procedure _SetSSID(Value: JString); cdecl;
function _Getcapabilities: JString; cdecl;
procedure _Setcapabilities(Value: JString); cdecl;
function _GetcenterFreq0: Integer; cdecl;
procedure _SetcenterFreq0(Value: Integer); cdecl;
function _GetcenterFreq1: Integer; cdecl;
procedure _SetcenterFreq1(Value: Integer); cdecl;
function _GetchannelWidth: Integer; cdecl;
procedure _SetchannelWidth(Value: Integer); cdecl;
function _Getfrequency: Integer; cdecl;
procedure _Setfrequency(Value: Integer); cdecl;
function _Getlevel: Integer; cdecl;
procedure _Setlevel(Value: Integer); cdecl;
function _GetoperatorFriendlyName: JCharSequence; cdecl;
procedure _SetoperatorFriendlyName(Value: JCharSequence); cdecl;
function _Gettimestamp: Int64; cdecl;
procedure _Settimestamp(Value: Int64); cdecl;
function _GetvenueName: JCharSequence; cdecl;
procedure _SetvenueName(Value: JCharSequence); cdecl;
function is80211mcResponder: Boolean; cdecl; // API 23
function isPasspointNetwork: Boolean; cdecl; // API 23
function toString: JString; cdecl;
property BSSID: JString read _GetBSSID write _SetBSSID;
property SSID: JString read _GetSSID write _SetSSID;
property capabilities: JString read _Getcapabilities write _Setcapabilities;
property centerFreq0: Integer read _GetcenterFreq0 write _SetcenterFreq0; // API 23
property centerFreq1: Integer read _GetcenterFreq1 write _SetcenterFreq1; // API 23
property channelWidth: Integer read _GetchannelWidth write _SetchannelWidth; // API 23
property frequency: Integer read _Getfrequency write _Setfrequency;
property level: Integer read _Getlevel write _Setlevel;
property operatorFriendlyName: JCharSequence read _GetoperatorFriendlyName write _SetoperatorFriendlyName; // API 23
property timestamp: Int64 read _Gettimestamp write _Settimestamp; // API 17
property venueName: JCharSequence read _GetvenueName write _SetvenueName; // API 23
end;
TJScanResult = class(TJavaGenericImport<JScanResultClass, JScanResult>)
end;
JSupplicantStateClass = interface(JEnumClass)
['{11D5113E-AE84-4F4C-832D-5F9E78A93530}']
function _GetASSOCIATED: JSupplicantState; cdecl;
function _GetASSOCIATING: JSupplicantState; cdecl;
function _GetAUTHENTICATING: JSupplicantState; cdecl;
function _GetCOMPLETED: JSupplicantState; cdecl;
function _GetDISCONNECTED: JSupplicantState; cdecl;
function _GetDORMANT: JSupplicantState; cdecl;
function _GetFOUR_WAY_HANDSHAKE: JSupplicantState; cdecl;
function _GetGROUP_HANDSHAKE: JSupplicantState; cdecl;
function _GetINACTIVE: JSupplicantState; cdecl;
function _GetINTERFACE_DISABLED: JSupplicantState; cdecl;
function _GetINVALID: JSupplicantState; cdecl;
function _GetSCANNING: JSupplicantState; cdecl;
function _GetUNINITIALIZED: JSupplicantState; cdecl;
function isValidState(state: JSupplicantState): Boolean; cdecl;
function valueOf(name: JString): JSupplicantState; cdecl;
function values: TJavaObjectArray<JSupplicantState>; cdecl;
property ASSOCIATED: JSupplicantState read _GetASSOCIATED;
property ASSOCIATING: JSupplicantState read _GetASSOCIATING;
property AUTHENTICATING: JSupplicantState read _GetAUTHENTICATING; // API 14
property COMPLETED: JSupplicantState read _GetCOMPLETED;
property DISCONNECTED: JSupplicantState read _GetDISCONNECTED;
property DORMANT: JSupplicantState read _GetDORMANT;
property FOUR_WAY_HANDSHAKE: JSupplicantState read _GetFOUR_WAY_HANDSHAKE;
property GROUP_HANDSHAKE: JSupplicantState read _GetGROUP_HANDSHAKE;
property INACTIVE: JSupplicantState read _GetINACTIVE;
property INTERFACE_DISABLED: JSupplicantState read _GetINTERFACE_DISABLED; // API 14
property INVALID: JSupplicantState read _GetINVALID;
property SCANNING: JSupplicantState read _GetSCANNING;
property UNINITIALIZED: JSupplicantState read _GetUNINITIALIZED;
end;
[JavaSignature('android/net/wifi/SupplicantState')]
JSupplicantState = interface(JEnum)
['{1733F9B5-2434-461F-8DF6-F23617BFA5D8}']
end;
TJSupplicantState = class(TJavaGenericImport<JSupplicantStateClass, JSupplicantState>)
end;
JWifiConfigurationClass = interface(JObjectClass)
['{C8BFCCBF-51DC-4210-9559-EFF599859A26}']
function init: JWifiConfiguration; cdecl;
end;
[JavaSignature('android/net/wifi/WifiConfiguration')]
JWifiConfiguration = interface(JObject)
['{ED67818C-4A3D-441D-987A-9E8826085924}']
function _GetBSSID: JString; cdecl;
procedure _SetBSSID(Value: JString); cdecl;
function _GetFQDN: JString; cdecl;
procedure _SetFQDN(Value: JString); cdecl;
function _GetSSID: JString; cdecl;
procedure _SetSSID(Value: JString); cdecl;
function _GetallowedAuthAlgorithms: JBitSet; cdecl;
procedure _SetallowedAuthAlgorithms(Value: JBitSet); cdecl;
function _GetallowedGroupCiphers: JBitSet; cdecl;
procedure _SetallowedGroupCiphers(Value: JBitSet); cdecl;
function _GetallowedKeyManagement: JBitSet; cdecl;
procedure _SetallowedKeyManagement(Value: JBitSet); cdecl;
function _GetallowedPairwiseCiphers: JBitSet; cdecl;
procedure _SetallowedPairwiseCiphers(Value: JBitSet); cdecl;
function _GetallowedProtocols: JBitSet; cdecl;
procedure _SetallowedProtocols(Value: JBitSet); cdecl;
function _GetenterpriseConfig: JWifiEnterpriseConfig; cdecl;
procedure _SetenterpriseConfig(Value: JWifiEnterpriseConfig); cdecl;
function _GethiddenSSID: Boolean; cdecl;
procedure _SethiddenSSID(Value: Boolean); cdecl;
function _GetisHomeProviderNetwork: Boolean; cdecl;
procedure _SetisHomeProviderNetwork(Value: Boolean); cdecl;
function _GetnetworkId: Integer; cdecl;
procedure _SetnetworkId(Value: Integer); cdecl;
function _GetpreSharedKey: JString; cdecl;
procedure _SetpreSharedKey(Value: JString); cdecl;
function _Getpriority: Integer; cdecl;
procedure _Setpriority(Value: Integer); cdecl;
function _GetproviderFriendlyName: JString; cdecl;
procedure _SetproviderFriendlyName(Value: JString); cdecl;
function _GetroamingConsortiumIds: TJavaArray<Int64>; cdecl;
procedure _SetroamingConsortiumIds(Value: TJavaArray<Int64>); cdecl;
function _Getstatus: Integer; cdecl;
procedure _Setstatus(Value: Integer); cdecl;
function _GetwepKeys: TJavaObjectArray<JString>; cdecl;
procedure _SetwepKeys(Value: TJavaObjectArray<JString>); cdecl;
function _GetwepTxKeyIndex: Integer; cdecl;
procedure _SetwepTxKeyIndex(Value: Integer); cdecl;
function getHttpProxy: JProxyInfo; cdecl; // (API 26) Deprecated API 29
function getRandomizedMacAddress: JMacAddress; cdecl; // (API 29) Deprecated API 29
function isPasspoint: Boolean; cdecl; // (API 23) Deprecated API 29
procedure setHttpProxy(httpProxy: JProxyInfo); cdecl; // (API 26) Deprecated API 29
function toString: JString; cdecl; // Deprecated API 29
property BSSID: JString read _GetBSSID write _SetBSSID; // Deprecated API 29
property FQDN: JString read _GetFQDN write _SetFQDN; // (API 21) Deprecated API 29
property SSID: JString read _GetSSID write _SetSSID; // Deprecated API 29
property allowedAuthAlgorithms: JBitSet read _GetallowedAuthAlgorithms write _SetallowedAuthAlgorithms; // Deprecated API 29
property allowedGroupCiphers: JBitSet read _GetallowedGroupCiphers write _SetallowedGroupCiphers; // Deprecated API 29
property allowedKeyManagement: JBitSet read _GetallowedKeyManagement write _SetallowedKeyManagement; // Deprecated API 29
property allowedPairwiseCiphers: JBitSet read _GetallowedPairwiseCiphers write _SetallowedPairwiseCiphers; // Deprecated API 29
property allowedProtocols: JBitSet read _GetallowedProtocols write _SetallowedProtocols; // Deprecated API 29
property enterpriseConfig: JWifiEnterpriseConfig read _GetenterpriseConfig write _SetenterpriseConfig; // (API 18) Deprecated API 29
property hiddenSSID: Boolean read _GethiddenSSID write _SethiddenSSID; // Deprecated API 29
property isHomeProviderNetwork: Boolean read _GetisHomeProviderNetwork write _SetisHomeProviderNetwork; // (API 26) Deprecated API 29
property networkId: Integer read _GetnetworkId write _SetnetworkId; // Deprecated API 29
property preSharedKey: JString read _GetpreSharedKey write _SetpreSharedKey; // Deprecated API 29
property priority: Integer read _Getpriority write _Setpriority; // Deprecated API 26
property providerFriendlyName: JString read _GetproviderFriendlyName write _SetproviderFriendlyName; // (API 23) Deprecated API 29
property roamingConsortiumIds: TJavaArray<Int64> read _GetroamingConsortiumIds write _SetroamingConsortiumIds; // (API 23) Deprecated API 29
property status: Integer read _Getstatus write _Setstatus; // Deprecated API 29
property wepKeys: TJavaObjectArray<JString> read _GetwepKeys write _SetwepKeys; // Deprecated API 28
property wepTxKeyIndex: Integer read _GetwepTxKeyIndex write _SetwepTxKeyIndex; // Deprecated API 28
end;
TJWifiConfiguration = class(TJavaGenericImport<JWifiConfigurationClass, JWifiConfiguration>)
end;
JWifiConfiguration_AuthAlgorithmClass = interface(JObjectClass)
['{047D5EC9-9464-4C1F-972A-F1BE5E10672E}']
function _GetLEAP: Integer; cdecl;
function _GetOPEN: Integer; cdecl;
function _GetSHARED: Integer; cdecl;
function _Getstrings: TJavaObjectArray<JString>; cdecl;
function _GetvarName: JString; cdecl;
property LEAP: Integer read _GetLEAP; // Deprecated API 29
property OPEN: Integer read _GetOPEN; // Deprecated API 29
property SHARED: Integer read _GetSHARED; // Deprecated API 28
property strings: TJavaObjectArray<JString> read _Getstrings; // Deprecated API 29
property varName: JString read _GetvarName; // Deprecated API 29
end;
[JavaSignature('android/net/wifi/WifiConfiguration$AuthAlgorithm')]
JWifiConfiguration_AuthAlgorithm = interface(JObject)
['{2258AEE7-6025-42A4-9812-F8340FDC38EE}']
end;
TJWifiConfiguration_AuthAlgorithm = class(TJavaGenericImport<JWifiConfiguration_AuthAlgorithmClass, JWifiConfiguration_AuthAlgorithm>)
end;
JWifiConfiguration_GroupCipherClass = interface(JObjectClass)
['{001FFC70-CA9D-415E-BB87-15BB196C6671}']
function _GetCCMP: Integer; cdecl;
function _GetTKIP: Integer; cdecl;
function _GetWEP104: Integer; cdecl;
function _GetWEP40: Integer; cdecl;
function _Getstrings: TJavaObjectArray<JString>; cdecl;
function _GetvarName: JString; cdecl;
property CCMP: Integer read _GetCCMP; // Deprecated API 29
property TKIP: Integer read _GetTKIP; // Deprecated API 29
property WEP104: Integer read _GetWEP104; // Deprecated API 28
property WEP40: Integer read _GetWEP40; // Deprecated API 28
property strings: TJavaObjectArray<JString> read _Getstrings; // Deprecated API 29
property varName: JString read _GetvarName; // Deprecated API 29
end;
[JavaSignature('android/net/wifi/WifiConfiguration$GroupCipher')]
JWifiConfiguration_GroupCipher = interface(JObject)
['{B1180E11-3616-45A4-A088-FB7D2964AA75}']
end;
TJWifiConfiguration_GroupCipher = class(TJavaGenericImport<JWifiConfiguration_GroupCipherClass, JWifiConfiguration_GroupCipher>)
end;
JWifiConfiguration_GroupMgmtCipherClass = interface(JObjectClass)
['{82BD92DD-4A0F-47FB-AD05-2B585FBD34F4}']
function _GetBIP_CMAC_256: Integer; cdecl;
function _GetBIP_GMAC_128: Integer; cdecl;
function _GetBIP_GMAC_256: Integer; cdecl;
property BIP_CMAC_256: Integer read _GetBIP_CMAC_256; // API 29
property BIP_GMAC_128: Integer read _GetBIP_GMAC_128; // API 29
property BIP_GMAC_256: Integer read _GetBIP_GMAC_256; // API 29
end;
[JavaSignature('android/net/wifi/WifiConfiguration$GroupMgmtCipher')]
JWifiConfiguration_GroupMgmtCipher = interface(JObject)
['{27340BFB-C276-47DA-8455-A10C23EC53AB}']
end;
TJWifiConfiguration_GroupMgmtCipher = class(TJavaGenericImport<JWifiConfiguration_GroupMgmtCipherClass, JWifiConfiguration_GroupMgmtCipher>)
end;
JWifiConfiguration_KeyMgmtClass = interface(JObjectClass)
['{EC2914FD-30CD-463D-A620-178C20486690}']
function _GetIEEE8021X: Integer; cdecl;
function _GetNONE: Integer; cdecl;
function _GetOWE: Integer; cdecl;
function _GetSAE: Integer; cdecl;
function _GetSUITE_B_192: Integer; cdecl;
function _GetWPA_EAP: Integer; cdecl;
function _GetWPA_PSK: Integer; cdecl;
function _Getstrings: TJavaObjectArray<JString>; cdecl;
function _GetvarName: JString; cdecl;
property IEEE8021X: Integer read _GetIEEE8021X; // Deprecated API 29
property NONE: Integer read _GetNONE; // Deprecated API 29
property OWE: Integer read _GetOWE; // (API 29) Deprecated API 29
property SAE: Integer read _GetSAE; // (API 29) Deprecated API 29
property SUITE_B_192: Integer read _GetSUITE_B_192; // (API 29) Deprecated API 29
property WPA_EAP: Integer read _GetWPA_EAP; // Deprecated API 29
property WPA_PSK: Integer read _GetWPA_PSK; // Deprecated API 29
property strings: TJavaObjectArray<JString> read _Getstrings; // Deprecated API 29
property varName: JString read _GetvarName; // Deprecated API 29
end;
[JavaSignature('android/net/wifi/WifiConfiguration$KeyMgmt')]
JWifiConfiguration_KeyMgmt = interface(JObject)
['{75054BB4-74D2-4C59-95FE-F1B32C1DAAAE}']
end;
TJWifiConfiguration_KeyMgmt = class(TJavaGenericImport<JWifiConfiguration_KeyMgmtClass, JWifiConfiguration_KeyMgmt>)
end;
JWifiConfiguration_PairwiseCipherClass = interface(JObjectClass)
['{186CC97E-C88C-49C5-AC1C-40679A9E0827}']
function _GetCCMP: Integer; cdecl;
function _GetGCMP_256: Integer; cdecl;
function _GetNONE: Integer; cdecl;
function _GetTKIP: Integer; cdecl;
function _Getstrings: TJavaObjectArray<JString>; cdecl;
function _GetvarName: JString; cdecl;
property CCMP: Integer read _GetCCMP; // Deprecated API 29
property GCMP_256: Integer read _GetGCMP_256; // (API 29) Deprecated API 29
property NONE: Integer read _GetNONE; // Deprecated API 29
property TKIP: Integer read _GetTKIP; // Deprecated API 28
property strings: TJavaObjectArray<JString> read _Getstrings; // Deprecated API 29
property varName: JString read _GetvarName; // Deprecated API 29
end;
[JavaSignature('android/net/wifi/WifiConfiguration$PairwiseCipher')]
JWifiConfiguration_PairwiseCipher = interface(JObject)
['{10CF8A7C-307F-45DD-87AD-AAE724FD9486}']
end;
TJWifiConfiguration_PairwiseCipher = class(TJavaGenericImport<JWifiConfiguration_PairwiseCipherClass, JWifiConfiguration_PairwiseCipher>)
end;
JWifiConfiguration_ProtocolClass = interface(JObjectClass)
['{1FD6FF63-356B-41B1-BD8D-B6C8666BAD18}']
function _GetRSN: Integer; cdecl;
function _GetWPA: Integer; cdecl;
function _Getstrings: TJavaObjectArray<JString>; cdecl;
function _GetvarName: JString; cdecl;
property RSN: Integer read _GetRSN; // Deprecated API 29
property WPA: Integer read _GetWPA; // Deprecated API 28
property strings: TJavaObjectArray<JString> read _Getstrings; // Deprecated API 29
property varName: JString read _GetvarName; // Deprecated API 29
end;
[JavaSignature('android/net/wifi/WifiConfiguration$Protocol')]
JWifiConfiguration_Protocol = interface(JObject)
['{E6C85E59-1C0B-4562-933A-63DDC77383CC}']
end;
TJWifiConfiguration_Protocol = class(TJavaGenericImport<JWifiConfiguration_ProtocolClass, JWifiConfiguration_Protocol>)
end;
JWifiConfiguration_StatusClass = interface(JObjectClass)
['{20D5CCD8-896F-47DD-A0F3-7D00B5CE8A10}']
function _GetCURRENT: Integer; cdecl;
function _GetDISABLED: Integer; cdecl;
function _GetENABLED: Integer; cdecl;
function _Getstrings: TJavaObjectArray<JString>; cdecl;
property CURRENT: Integer read _GetCURRENT; // Deprecated API 29
property DISABLED: Integer read _GetDISABLED; // Deprecated API 29
property ENABLED: Integer read _GetENABLED; // Deprecated API 29
property strings: TJavaObjectArray<JString> read _Getstrings; // Deprecated API 29
end;
[JavaSignature('android/net/wifi/WifiConfiguration$Status')]
JWifiConfiguration_Status = interface(JObject)
['{F808D628-9382-4509-BD14-BF697EB5A088}']
end;
TJWifiConfiguration_Status = class(TJavaGenericImport<JWifiConfiguration_StatusClass, JWifiConfiguration_Status>)
end;
JWifiEnterpriseConfigClass = interface(JObjectClass)
['{8583C57E-0204-4BC8-B0D5-8B25DA81985B}']
function _GetCREATOR: JParcelable_Creator; cdecl;
function init: JWifiEnterpriseConfig; cdecl; overload; // API 18
function init(source: JWifiEnterpriseConfig): JWifiEnterpriseConfig; cdecl; overload; // API 18
property CREATOR: JParcelable_Creator read _GetCREATOR; // API 18
end;
[JavaSignature('android/net/wifi/WifiEnterpriseConfig')]
JWifiEnterpriseConfig = interface(JObject)
['{B822B902-C591-48D1-BEFF-56FC393A03A7}']
function describeContents: Integer; cdecl; // API 18
function getAltSubjectMatch: JString; cdecl; // API 23
function getAnonymousIdentity: JString; cdecl; // API 18
function getCaCertificate: JX509Certificate; cdecl; // API 18
function getCaCertificates: TJavaObjectArray<JX509Certificate>; cdecl; // API 24
function getClientCertificate: JX509Certificate; cdecl; // API 18
function getClientCertificateChain: TJavaObjectArray<JX509Certificate>; cdecl; // API 26
function getDomainSuffixMatch: JString; cdecl; // API 23
function getEapMethod: Integer; cdecl; // API 18
function getIdentity: JString; cdecl; // API 18
function getPassword: JString; cdecl; // API 18
function getPhase2Method: Integer; cdecl; // API 18
function getPlmn: JString; cdecl; // API 23
function getRealm: JString; cdecl; // API 23
function getSubjectMatch: JString; cdecl; // (API 18) Deprecated API 23 - altSubjectMatch
procedure setAltSubjectMatch(altSubjectMatch: JString); cdecl; // API 23
procedure setAnonymousIdentity(anonymousIdentity: JString); cdecl; // API 18
procedure setCaCertificate(cert: JX509Certificate); cdecl; // API 18
procedure setCaCertificates(certs: TJavaObjectArray<JX509Certificate>); cdecl; // API 24
procedure setClientKeyEntry(privateKey: JPrivateKey; clientCertificate: JX509Certificate); cdecl; // API 18
procedure setClientKeyEntryWithCertificateChain(privateKey: JPrivateKey; clientCertificateChain: TJavaObjectArray<JX509Certificate>); cdecl; // API 26
procedure setDomainSuffixMatch(domain: JString); cdecl; // API 23
procedure setEapMethod(eapMethod: Integer); cdecl; // API 18
procedure setIdentity(identity: JString); cdecl; // API 18
procedure setPassword(password: JString); cdecl; // API 18
procedure setPhase2Method(phase2Method: Integer); cdecl; // API 18
procedure setPlmn(plmn: JString); cdecl; // API 23
procedure setRealm(realm: JString); cdecl; // API 23
procedure setSubjectMatch(subjectMatch: JString); cdecl; // (API 18) Deprecated API 23 - altSubjectMatch
function toString: JString; cdecl; // API 18
procedure writeToParcel(dest: JParcel; flags: Integer); cdecl; // API 18
end;
TJWifiEnterpriseConfig = class(TJavaGenericImport<JWifiEnterpriseConfigClass, JWifiEnterpriseConfig>)
end;
JWifiEnterpriseConfig_EapClass = interface(JObjectClass)
['{CFCC6A75-76D5-4094-902D-8B73B1E3888E}']
function _GetAKA: Integer; cdecl;
function _GetAKA_PRIME: Integer; cdecl;
function _GetNONE: Integer; cdecl;
function _GetPEAP: Integer; cdecl;
function _GetPWD: Integer; cdecl;
function _GetSIM: Integer; cdecl;
function _GetTLS: Integer; cdecl;
function _GetTTLS: Integer; cdecl;
function _GetUNAUTH_TLS: Integer; cdecl;
property AKA: Integer read _GetAKA; // API 21
property AKA_PRIME: Integer read _GetAKA_PRIME; // API 23
property NONE: Integer read _GetNONE; // API 18
property PEAP: Integer read _GetPEAP; // API 18
property PWD: Integer read _GetPWD; // API 18
property SIM: Integer read _GetSIM; // API 21
property TLS: Integer read _GetTLS; // API 18
property TTLS: Integer read _GetTTLS; // API 18
property UNAUTH_TLS: Integer read _GetUNAUTH_TLS; // API 24
end;
[JavaSignature('android/net/wifi/WifiEnterpriseConfig$Eap')]
JWifiEnterpriseConfig_Eap = interface(JObject)
['{4880D3DC-10FE-4740-A2DE-BB9EC21EED0B}']
end;
TJWifiEnterpriseConfig_Eap = class(TJavaGenericImport<JWifiEnterpriseConfig_EapClass, JWifiEnterpriseConfig_Eap>)
end;
JWifiEnterpriseConfig_Phase2Class = interface(JObjectClass)
['{D9150CF8-D11C-4D58-94DF-56BA5805D44E}']
function _GetAKA: Integer; cdecl;
function _GetAKA_PRIME: Integer; cdecl;
function _GetGTC: Integer; cdecl;
function _GetMSCHAP: Integer; cdecl;
function _GetMSCHAPV2: Integer; cdecl;
function _GetNONE: Integer; cdecl;
function _GetPAP: Integer; cdecl;
function _GetSIM: Integer; cdecl;
property AKA: Integer read _GetAKA; // API 26
property AKA_PRIME: Integer read _GetAKA_PRIME; // API 26
property GTC: Integer read _GetGTC; // API 18
property MSCHAP: Integer read _GetMSCHAP; // API 18
property MSCHAPV2: Integer read _GetMSCHAPV2; // API 18
property NONE: Integer read _GetNONE; // API 18
property PAP: Integer read _GetPAP; // API 18
property SIM: Integer read _GetSIM; // API 26
end;
[JavaSignature('android/net/wifi/WifiEnterpriseConfig$Phase2')]
JWifiEnterpriseConfig_Phase2 = interface(JObject)
['{47DF010A-28A3-4F03-B88E-FD4F1BCD32EC}']
end;
TJWifiEnterpriseConfig_Phase2 = class(TJavaGenericImport<JWifiEnterpriseConfig_Phase2Class, JWifiEnterpriseConfig_Phase2>)
end;
JWifiInfoClass = interface(JObjectClass)
['{8CC8F57E-4945-400E-9F19-626BDDCB496A}']
function _GetFREQUENCY_UNITS: JString; cdecl;
function _GetLINK_SPEED_UNITS: JString; cdecl;
function _GetLINK_SPEED_UNKNOWN: Integer; cdecl;
function getDetailedStateOf(suppState: JSupplicantState): JNetworkInfo_DetailedState; cdecl;
property FREQUENCY_UNITS: JString read _GetFREQUENCY_UNITS; // API 21
property LINK_SPEED_UNITS: JString read _GetLINK_SPEED_UNITS;
property LINK_SPEED_UNKNOWN: Integer read _GetLINK_SPEED_UNKNOWN; // API 29
end;
[JavaSignature('android/net/wifi/WifiInfo')]
JWifiInfo = interface(JObject)
['{D1AC40A2-AD68-4A81-ABD0-A0476CA41C22}']
function getBSSID: JString; cdecl;
function getFrequency: Integer; cdecl; // API 21
function getHiddenSSID: Boolean; cdecl;
function getIpAddress: Integer; cdecl;
function getLinkSpeed: Integer; cdecl;
function getMacAddress: JString; cdecl;
function getNetworkId: Integer; cdecl;
function getPasspointFqdn: JString; cdecl; // API 29
function getPasspointProviderFriendlyName: JString; cdecl; // API 29
function getRssi: Integer; cdecl;
function getRxLinkSpeedMbps: Integer; cdecl; // API 29
function getSSID: JString; cdecl;
function getSupplicantState: JSupplicantState; cdecl;
function getTxLinkSpeedMbps: Integer; cdecl; // API 29
function toString: JString; cdecl;
end;
TJWifiInfo = class(TJavaGenericImport<JWifiInfoClass, JWifiInfo>)
end;
JWifiManagerClass = interface(JObjectClass)
['{A3559F69-A273-4480-972E-48D2381B1F93}']
function _GetACTION_PICK_WIFI_NETWORK: JString; cdecl;
function _GetACTION_REQUEST_SCAN_ALWAYS_AVAILABLE: JString; cdecl;
function _GetACTION_WIFI_NETWORK_SUGGESTION_POST_CONNECTION: JString; cdecl;
function _GetERROR_AUTHENTICATING: Integer; cdecl;
function _GetEXTRA_BSSID: JString; cdecl;
function _GetEXTRA_NETWORK_INFO: JString; cdecl;
function _GetEXTRA_NETWORK_SUGGESTION: JString; cdecl;
function _GetEXTRA_NEW_RSSI: JString; cdecl;
function _GetEXTRA_NEW_STATE: JString; cdecl;
function _GetEXTRA_PREVIOUS_WIFI_STATE: JString; cdecl;
function _GetEXTRA_RESULTS_UPDATED: JString; cdecl;
function _GetEXTRA_SUPPLICANT_CONNECTED: JString; cdecl;
function _GetEXTRA_SUPPLICANT_ERROR: JString; cdecl;
function _GetEXTRA_WIFI_INFO: JString; cdecl;
function _GetEXTRA_WIFI_STATE: JString; cdecl;
function _GetNETWORK_IDS_CHANGED_ACTION: JString; cdecl;
function _GetNETWORK_STATE_CHANGED_ACTION: JString; cdecl;
function _GetRSSI_CHANGED_ACTION: JString; cdecl;
function _GetSCAN_RESULTS_AVAILABLE_ACTION: JString; cdecl;
function _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_ADD_DUPLICATE: Integer; cdecl;
function _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_ADD_EXCEEDS_MAX_PER_APP: Integer; cdecl;
function _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_APP_DISALLOWED: Integer; cdecl;
function _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_INTERNAL: Integer; cdecl;
function _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_REMOVE_INVALID: Integer; cdecl;
function _GetSTATUS_NETWORK_SUGGESTIONS_SUCCESS: Integer; cdecl;
function _GetSUPPLICANT_CONNECTION_CHANGE_ACTION: JString; cdecl;
function _GetSUPPLICANT_STATE_CHANGED_ACTION: JString; cdecl;
function _GetWIFI_MODE_FULL: Integer; cdecl;
function _GetWIFI_MODE_FULL_HIGH_PERF: Integer; cdecl;
function _GetWIFI_MODE_FULL_LOW_LATENCY: Integer; cdecl;
function _GetWIFI_MODE_SCAN_ONLY: Integer; cdecl;
function _GetWIFI_STATE_CHANGED_ACTION: JString; cdecl;
function _GetWIFI_STATE_DISABLED: Integer; cdecl;
function _GetWIFI_STATE_DISABLING: Integer; cdecl;
function _GetWIFI_STATE_ENABLED: Integer; cdecl;
function _GetWIFI_STATE_ENABLING: Integer; cdecl;
function _GetWIFI_STATE_UNKNOWN: Integer; cdecl;
function _GetWPS_AUTH_FAILURE: Integer; cdecl;
function _GetWPS_OVERLAP_ERROR: Integer; cdecl;
function _GetWPS_TIMED_OUT: Integer; cdecl;
function _GetWPS_TKIP_ONLY_PROHIBITED: Integer; cdecl;
function _GetWPS_WEP_PROHIBITED: Integer; cdecl;
function calculateSignalLevel(rssi: Integer; numLevels: Integer): Integer; cdecl;
function compareSignalLevel(rssiA: Integer; rssiB: Integer): Integer; cdecl;
property ACTION_PICK_WIFI_NETWORK: JString read _GetACTION_PICK_WIFI_NETWORK;
property ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE: JString read _GetACTION_REQUEST_SCAN_ALWAYS_AVAILABLE; // API 18
property ACTION_WIFI_NETWORK_SUGGESTION_POST_CONNECTION: JString read _GetACTION_WIFI_NETWORK_SUGGESTION_POST_CONNECTION; // API 29
property ERROR_AUTHENTICATING: Integer read _GetERROR_AUTHENTICATING; // Deprecated API 28
property EXTRA_BSSID: JString read _GetEXTRA_BSSID; // Deprecated API 28
property EXTRA_NETWORK_INFO: JString read _GetEXTRA_NETWORK_INFO;
property EXTRA_NETWORK_SUGGESTION: JString read _GetEXTRA_NETWORK_SUGGESTION; // API 29
property EXTRA_NEW_RSSI: JString read _GetEXTRA_NEW_RSSI;
property EXTRA_NEW_STATE: JString read _GetEXTRA_NEW_STATE; // Deprecated API 28
property EXTRA_PREVIOUS_WIFI_STATE: JString read _GetEXTRA_PREVIOUS_WIFI_STATE;
property EXTRA_RESULTS_UPDATED: JString read _GetEXTRA_RESULTS_UPDATED; // API 23
property EXTRA_SUPPLICANT_CONNECTED: JString read _GetEXTRA_SUPPLICANT_CONNECTED; // Deprecated API 28
property EXTRA_SUPPLICANT_ERROR: JString read _GetEXTRA_SUPPLICANT_ERROR; // Deprecated API 28
property EXTRA_WIFI_INFO: JString read _GetEXTRA_WIFI_INFO; // (API 14) Deprecated API 28
property EXTRA_WIFI_STATE: JString read _GetEXTRA_WIFI_STATE;
property NETWORK_IDS_CHANGED_ACTION: JString read _GetNETWORK_IDS_CHANGED_ACTION;
property NETWORK_STATE_CHANGED_ACTION: JString read _GetNETWORK_STATE_CHANGED_ACTION;
property RSSI_CHANGED_ACTION: JString read _GetRSSI_CHANGED_ACTION;
property SCAN_RESULTS_AVAILABLE_ACTION: JString read _GetSCAN_RESULTS_AVAILABLE_ACTION;
property STATUS_NETWORK_SUGGESTIONS_ERROR_ADD_DUPLICATE: Integer read _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_ADD_DUPLICATE; // API 29
property STATUS_NETWORK_SUGGESTIONS_ERROR_ADD_EXCEEDS_MAX_PER_APP: Integer read _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_ADD_EXCEEDS_MAX_PER_APP; // API 29
property STATUS_NETWORK_SUGGESTIONS_ERROR_APP_DISALLOWED: Integer read _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_APP_DISALLOWED; // API 29
property STATUS_NETWORK_SUGGESTIONS_ERROR_INTERNAL: Integer read _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_INTERNAL; // API 29
property STATUS_NETWORK_SUGGESTIONS_ERROR_REMOVE_INVALID: Integer read _GetSTATUS_NETWORK_SUGGESTIONS_ERROR_REMOVE_INVALID; // API 29
property STATUS_NETWORK_SUGGESTIONS_SUCCESS: Integer read _GetSTATUS_NETWORK_SUGGESTIONS_SUCCESS; // API 29
property SUPPLICANT_CONNECTION_CHANGE_ACTION: JString read _GetSUPPLICANT_CONNECTION_CHANGE_ACTION; // Deprecated API 28
property SUPPLICANT_STATE_CHANGED_ACTION: JString read _GetSUPPLICANT_STATE_CHANGED_ACTION; // Deprecated API 28
property WIFI_MODE_FULL: Integer read _GetWIFI_MODE_FULL; // Deprecated API 29
property WIFI_MODE_FULL_HIGH_PERF: Integer read _GetWIFI_MODE_FULL_HIGH_PERF; // API 12
property WIFI_MODE_FULL_LOW_LATENCY: Integer read _GetWIFI_MODE_FULL_LOW_LATENCY; // API 29
property WIFI_MODE_SCAN_ONLY: Integer read _GetWIFI_MODE_SCAN_ONLY; // Deprecated API 29
property WIFI_STATE_CHANGED_ACTION: JString read _GetWIFI_STATE_CHANGED_ACTION;
property WIFI_STATE_DISABLED: Integer read _GetWIFI_STATE_DISABLED;
property WIFI_STATE_DISABLING: Integer read _GetWIFI_STATE_DISABLING;
property WIFI_STATE_ENABLED: Integer read _GetWIFI_STATE_ENABLED;
property WIFI_STATE_ENABLING: Integer read _GetWIFI_STATE_ENABLING;
property WIFI_STATE_UNKNOWN: Integer read _GetWIFI_STATE_UNKNOWN;
property WPS_AUTH_FAILURE: Integer read _GetWPS_AUTH_FAILURE; // (API 21) Deprecated API 28
property WPS_OVERLAP_ERROR: Integer read _GetWPS_OVERLAP_ERROR; // (API 21) Deprecated API 28
property WPS_TIMED_OUT: Integer read _GetWPS_TIMED_OUT; // (API 21) Deprecated API 28
property WPS_TKIP_ONLY_PROHIBITED: Integer read _GetWPS_TKIP_ONLY_PROHIBITED; // (API 21) Deprecated API 28
property WPS_WEP_PROHIBITED: Integer read _GetWPS_WEP_PROHIBITED; // (API 21) Deprecated API 28
end;
[JavaSignature('android/net/wifi/WifiManager')]
JWifiManager = interface(JObject)
['{7411ED93-E0EC-4DBC-979A-5B895346DA34}']
function addNetwork(config: JWifiConfiguration): Integer; cdecl; // Deprecated API 29
function addNetworkSuggestions(networkSuggestions: JList): Integer; cdecl; // API 29
procedure addOrUpdatePasspointConfiguration(config: JPasspointConfiguration); cdecl; // API 26
procedure cancelWps(listener: JWifiManager_WpsCallback); cdecl; // (API 21) Deprecated API 28
function createMulticastLock(tag: JString): JWifiManager_MulticastLock; cdecl; // API 4
function createWifiLock(lockType: Integer; tag: JString): JWifiManager_WifiLock; cdecl; overload; // API 3
function createWifiLock(tag: JString): JWifiManager_WifiLock; cdecl; overload; // Deprecated API 29
function disableNetwork(netId: Integer): Boolean; cdecl; // Deprecated API 29
function disconnect: Boolean; cdecl; // Deprecated API 29
function enableNetwork(netId: Integer; attemptConnect: Boolean): Boolean; cdecl; // Deprecated API 29
function getConfiguredNetworks: JList; cdecl; // Deprecated API 29
function getConnectionInfo: JWifiInfo; cdecl;
function getDhcpInfo: JDhcpInfo; cdecl;
function getMaxNumberOfNetworkSuggestionsPerApp: Integer; cdecl; // API 29
function getPasspointConfigurations: JList; cdecl; // (API 26) Deprecated API 29
function getScanResults: JList; cdecl;
function getWifiState: Integer; cdecl;
function is5GHzBandSupported: Boolean; cdecl; // API 21
function isDeviceToApRttSupported: Boolean; cdecl; // (API 21) Deprecated API 29
function isEasyConnectSupported: Boolean; cdecl; // API 29
function isEnhancedOpenSupported: Boolean; cdecl; // API 29
function isEnhancedPowerReportingSupported: Boolean; cdecl; // API 21
function isP2pSupported: Boolean; cdecl; // API 21
function isPreferredNetworkOffloadSupported: Boolean; cdecl; // API 21
function isScanAlwaysAvailable: Boolean; cdecl; // (API 18) Deprecated API 29
function isTdlsSupported: Boolean; cdecl; // API 21
function isWifiEnabled: Boolean; cdecl;
function isWpa3SaeSupported: Boolean; cdecl; // API 29
function isWpa3SuiteBSupported: Boolean; cdecl; // API 29
function pingSupplicant: Boolean; cdecl; // (API 1) Deprecated API 26
function reassociate: Boolean; cdecl; // Deprecated API 29
function reconnect: Boolean; cdecl; // Deprecated API 29
function removeNetwork(netId: Integer): Boolean; cdecl; // Deprecated API 29
function removeNetworkSuggestions(networkSuggestions: JList): Integer; cdecl; // API 29
procedure removePasspointConfiguration(FQDN: JString); cdecl; // (API 26) Deprecated API 29
function saveConfiguration: Boolean; cdecl; // (API 1) Deprecated API 26
procedure setTdlsEnabled(remoteIPAddress: JInetAddress; enable: Boolean); cdecl; // API 19
procedure setTdlsEnabledWithMacAddress(remoteMacAddress: JString; enable: Boolean); cdecl; // API 19
function setWifiEnabled(ENABLED: Boolean): Boolean; cdecl; // Deprecated API 29
procedure startLocalOnlyHotspot(callback: JWifiManager_LocalOnlyHotspotCallback; handler: JHandler); cdecl; // API 26
function startScan: Boolean; cdecl; // (API 1) Deprecated API 28
procedure startWps(config: JWpsInfo; listener: JWifiManager_WpsCallback); cdecl; // (API 21) Deprecated API 28
function updateNetwork(config: JWifiConfiguration): Integer; cdecl; // Deprecated API 29
end;
TJWifiManager = class(TJavaGenericImport<JWifiManagerClass, JWifiManager>)
end;
JWifiManager_LocalOnlyHotspotCallbackClass = interface(JObjectClass)
['{4CAD526C-3B3C-4405-99AF-CCD8E9BD506B}']
function _GetERROR_GENERIC: Integer; cdecl;
function _GetERROR_INCOMPATIBLE_MODE: Integer; cdecl;
function _GetERROR_NO_CHANNEL: Integer; cdecl;
function _GetERROR_TETHERING_DISALLOWED: Integer; cdecl;
function init: JWifiManager_LocalOnlyHotspotCallback; cdecl;
property ERROR_GENERIC: Integer read _GetERROR_GENERIC; // API 26
property ERROR_INCOMPATIBLE_MODE: Integer read _GetERROR_INCOMPATIBLE_MODE; // API 26
property ERROR_NO_CHANNEL: Integer read _GetERROR_NO_CHANNEL; // API 26
property ERROR_TETHERING_DISALLOWED: Integer read _GetERROR_TETHERING_DISALLOWED; // API 26
end;
[JavaSignature('android/net/wifi/WifiManager$LocalOnlyHotspotCallback')]
JWifiManager_LocalOnlyHotspotCallback = interface(JObject)
['{B264D017-EBE9-443D-91D9-BBE6C46CFFB4}']
procedure onFailed(reason: Integer); cdecl; // API 26
procedure onStarted(reservation: JWifiManager_LocalOnlyHotspotReservation); cdecl; // API 26
procedure onStopped; cdecl; // API 26
end;
TJWifiManager_LocalOnlyHotspotCallback = class(TJavaGenericImport<JWifiManager_LocalOnlyHotspotCallbackClass,
JWifiManager_LocalOnlyHotspotCallback>)
end;
JWifiManager_LocalOnlyHotspotReservationClass = interface(JObjectClass)
['{E1452F64-55F7-4F0A-9A81-FC6BCD0DD782}']
end;
[JavaSignature('android/net/wifi/WifiManager$LocalOnlyHotspotReservation')]
JWifiManager_LocalOnlyHotspotReservation = interface(JObject)
['{86C50466-5271-4375-80AB-9F451CB693D2}']
function getWifiConfiguration: JWifiConfiguration; cdecl; // API 26
procedure close; cdecl; // API 26
end;
TJWifiManager_LocalOnlyHotspotReservation = class(TJavaGenericImport<JWifiManager_LocalOnlyHotspotReservationClass,
JWifiManager_LocalOnlyHotspotReservation>)
end;
JWifiManager_MulticastLockClass = interface(JObjectClass)
['{5A3A1B1D-84FB-4E49-8D92-47A2881314CC}']
end;
[JavaSignature('android/net/wifi/WifiManager$MulticastLock')]
JWifiManager_MulticastLock = interface(JObject)
['{682F61D0-82D8-484F-8EA8-72BDF4DD7FA9}']
procedure acquire; cdecl;
function isHeld: Boolean; cdecl;
procedure release; cdecl;
procedure setReferenceCounted(refCounted: Boolean); cdecl;
function toString: JString; cdecl;
end;
TJWifiManager_MulticastLock = class(TJavaGenericImport<JWifiManager_MulticastLockClass, JWifiManager_MulticastLock>)
end;
JWifiManager_WifiLockClass = interface(JObjectClass)
['{AE9D4E26-7200-4F0B-A2B7-C0DFA79A4340}']
end;
[JavaSignature('android/net/wifi/WifiManager$WifiLock')]
JWifiManager_WifiLock = interface(JObject)
['{43789DF1-6903-4338-A5A6-A6C101944654}']
procedure acquire; cdecl;
function isHeld: Boolean; cdecl;
procedure release; cdecl;
procedure setReferenceCounted(refCounted: Boolean); cdecl;
procedure setWorkSource(ws: JWorkSource); cdecl;
function toString: JString; cdecl;
end;
TJWifiManager_WifiLock = class(TJavaGenericImport<JWifiManager_WifiLockClass, JWifiManager_WifiLock>)
end;
JWifiManager_WpsCallbackClass = interface(JObjectClass)
['{716B5FDE-D3A4-424E-BDC4-D94C40950BEA}']
function init: JWifiManager_WpsCallback; cdecl; // (API 21) Deprecated API 28
end;
[JavaSignature('android/net/wifi/WifiManager$WpsCallback')]
JWifiManager_WpsCallback = interface(JObject)
['{977FA6F7-2F9D-4BAF-90C3-38784542235B}']
procedure onFailed(reason: Integer); cdecl; // (API 21) Deprecated API 28
procedure onStarted(pin: JString); cdecl; // (API 21) Deprecated API 28
procedure onSucceeded; cdecl; // (API 21) Deprecated API 28
end;
TJWifiManager_WpsCallback = class(TJavaGenericImport<JWifiManager_WpsCallbackClass, JWifiManager_WpsCallback>)
end;
JWifiNetworkSpecifierClass = interface(JObjectClass)
['{69EA183B-3F54-48D3-8B89-CE6026ED80EA}']
function _GetCREATOR: JParcelable_Creator; cdecl;
property CREATOR: JParcelable_Creator read _GetCREATOR; // API 29
end;
[JavaSignature('android/net/wifi/WifiNetworkSpecifier')]
JWifiNetworkSpecifier = interface(JObject)
['{3666689E-B0EC-4BAE-A9C2-95C8E1A8F401}']
function describeContents: Integer; cdecl; // API 29
function equals(obj: JObject): Boolean; cdecl; // API 29
function hashCode: Integer; cdecl; // API 29
function toString: JString; cdecl; // API 29
procedure writeToParcel(dest: JParcel; flags: Integer); cdecl; // API 29
end;
TJWifiNetworkSpecifier = class(TJavaGenericImport<JWifiNetworkSpecifierClass, JWifiNetworkSpecifier>)
end;
JWifiNetworkSpecifier_BuilderClass = interface(JObjectClass)
['{0003F47B-BE3D-4D00-B08E-9D53ED0C1028}']
function init: JWifiNetworkSpecifier_Builder; cdecl; // API 29
end;
[JavaSignature('android/net/wifi/WifiNetworkSpecifier$Builder')]
JWifiNetworkSpecifier_Builder = interface(JObject)
['{58E7FA39-C6A6-48B4-952F-44E37390FF07}']
function build: JWifiNetworkSpecifier; cdecl; // API 29
function setBssid(BSSID: JMacAddress): JWifiNetworkSpecifier_Builder; cdecl; // API 29
function setBssidPattern(baseAddress: JMacAddress; mask: JMacAddress): JWifiNetworkSpecifier_Builder; cdecl; // API 29
function setIsEnhancedOpen(isEnhancedOpen: Boolean): JWifiNetworkSpecifier_Builder; cdecl; // API 29
function setIsHiddenSsid(isHiddenSsid: Boolean): JWifiNetworkSpecifier_Builder; cdecl; // API 29
function setSsid(SSID: JString): JWifiNetworkSpecifier_Builder; cdecl; // API 29
function setSsidPattern(ssidPattern: JPatternMatcher): JWifiNetworkSpecifier_Builder; cdecl; // API 29
function setWpa2EnterpriseConfig(enterpriseConfig: JWifiEnterpriseConfig): JWifiNetworkSpecifier_Builder; cdecl; // API 29
function setWpa2Passphrase(passphrase: JString): JWifiNetworkSpecifier_Builder; cdecl; // API 29
function setWpa3EnterpriseConfig(enterpriseConfig: JWifiEnterpriseConfig): JWifiNetworkSpecifier_Builder; cdecl; // API 29
function setWpa3Passphrase(passphrase: JString): JWifiNetworkSpecifier_Builder; cdecl; // API 29
end;
TJWifiNetworkSpecifier_Builder = class(TJavaGenericImport<JWifiNetworkSpecifier_BuilderClass, JWifiNetworkSpecifier_Builder>)
end;
JWifiNetworkSuggestionClass = interface(JObjectClass)
['{054C65D2-588B-4427-B872-AB2229103D04}']
function _GetCREATOR: JParcelable_Creator; cdecl;
property CREATOR: JParcelable_Creator read _GetCREATOR; // API 29
end;
[JavaSignature('android/net/wifi/WifiNetworkSuggestion')]
JWifiNetworkSuggestion = interface(JObject)
['{099AC591-E242-4880-BB65-C1B34C85AAAC}']
function describeContents: Integer; cdecl; // API 29
function equals(obj: JObject): Boolean; cdecl; // API 29
function hashCode: Integer; cdecl; // API 29
function toString: JString; cdecl; // API 29
procedure writeToParcel(dest: JParcel; flags: Integer); cdecl; // API 29
end;
TJWifiNetworkSuggestion = class(TJavaGenericImport<JWifiNetworkSuggestionClass, JWifiNetworkSuggestion>)
end;
JWifiNetworkSuggestion_BuilderClass = interface(JObjectClass)
['{D090CFA8-7F32-4AB2-BB74-D3F1F21E5CF5}']
function init: JWifiNetworkSuggestion_Builder; cdecl; // API 29
end;
[JavaSignature('android/net/wifi/WifiNetworkSuggestion$Builder')]
JWifiNetworkSuggestion_Builder = interface(JObject)
['{B248BAA9-2414-434C-AB81-CFD1A0683882}']
function build: JWifiNetworkSuggestion; cdecl; // API 29
function setBssid(BSSID: JMacAddress): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setIsAppInteractionRequired(isAppInteractionRequired: Boolean): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setIsEnhancedOpen(isEnhancedOpen: Boolean): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setIsHiddenSsid(isHiddenSsid: Boolean): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setIsMetered(isMetered: Boolean): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setIsUserInteractionRequired(isUserInteractionRequired: Boolean): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setPriority(priority: Integer): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setSsid(SSID: JString): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setWpa2EnterpriseConfig(enterpriseConfig: JWifiEnterpriseConfig): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setWpa2Passphrase(passphrase: JString): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setWpa3EnterpriseConfig(enterpriseConfig: JWifiEnterpriseConfig): JWifiNetworkSuggestion_Builder; cdecl; // API 29
function setWpa3Passphrase(passphrase: JString): JWifiNetworkSuggestion_Builder; cdecl; // API 29
end;
TJWifiNetworkSuggestion_Builder = class(TJavaGenericImport<JWifiNetworkSuggestion_BuilderClass, JWifiNetworkSuggestion_Builder>)
end;
JWpsInfoClass = interface(JObjectClass)
['{994C4858-2798-441A-9D35-B111C5EC0932}']
function _GetCREATOR: JParcelable_Creator; cdecl;
function _GetDISPLAY: Integer; cdecl;
function _GetINVALID: Integer; cdecl;