armv7-apple-ios.swiftinterface
87.9 KB
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
// swift-module-flags: -target armv7-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name hhVDoctorSDK
import AVFoundation
import AdSupport
import CoreLocation
import CoreTelephony
import Darwin
import Dispatch
import Foundation
import ImSDK
import LocalAuthentication
import MobileCoreServices
import ObjectiveC
import Photos
import Security
import SecurityKit
import Swift
import SystemConfiguration
import TXLiteAVSDK_TRTC
import UIKit
@_exported import hhVDoctorSDK
public protocol AEAD {
static var kLen: Swift.Int { get }
static var ivRange: Swift.Range<Swift.Int> { get }
}
final public class AEADChaCha20Poly1305 : hhVDoctorSDK.AEAD {
public static let kLen: Swift.Int
public static var ivRange: Swift.Range<Swift.Int>
public static func encrypt(_ plainText: Swift.Array<Swift.UInt8>, key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>, authenticationHeader: Swift.Array<Swift.UInt8>) throws -> (cipherText: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>)
public static func decrypt(_ cipherText: Swift.Array<Swift.UInt8>, key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>, authenticationHeader: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>) throws -> (plainText: Swift.Array<Swift.UInt8>, success: Swift.Bool)
@objc deinit
}
extension AES {
convenience public init(key: Swift.String, iv: Swift.String, padding: hhVDoctorSDK.Padding = .pkcs7) throws
}
extension AES : hhVDoctorSDK.Cryptors {
final public func makeEncryptor() throws -> hhVDoctorSDK.AES.Encryptor
final public func makeDecryptor() throws -> hhVDoctorSDK.AES.Decryptor
public typealias EncryptorType = hhVDoctorSDK.AES.Encryptor
public typealias DecryptorType = hhVDoctorSDK.AES.Decryptor
}
extension AES {
public struct Encryptor : hhVDoctorSDK.Updatable {
mutating public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
}
}
extension AES {
public struct Decryptor : hhVDoctorSDK.RandomAccessCryptor {
mutating public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
@discardableResult
mutating public func seek(to position: Swift.Int) -> Swift.Bool
}
}
final public class AES {
public enum Error : Swift.Error {
case dataPaddingRequired
case invalidData
public static func == (a: hhVDoctorSDK.AES.Error, b: hhVDoctorSDK.AES.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public enum Variant : Swift.Int {
case aes128, aes192, aes256
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
public static let blockSize: Swift.Int
final public let keySize: Swift.Int
final public var variant: hhVDoctorSDK.AES.Variant {
get
}
public init(key: Swift.Array<Swift.UInt8>, blockMode: hhVDoctorSDK.BlockMode, padding: hhVDoctorSDK.Padding = .pkcs7) throws
@objc deinit
}
extension AES : hhVDoctorSDK.Cipher {
final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
extension Array {
public init(reserveCapacity: Swift.Int)
}
extension Array where Element == Swift.UInt8 {
public init(hex: Swift.String)
public func toHexString() -> Swift.String
}
extension Array where Element == Swift.UInt8 {
public func chunks(size chunksize: Swift.Int) -> Swift.Array<Swift.Array<Element>>
public func md5() -> [Element]
public func sha1() -> [Element]
public func sha224() -> [Element]
public func sha256() -> [Element]
public func sha384() -> [Element]
public func sha512() -> [Element]
public func sha2(_ variant: hhVDoctorSDK.SHA2.Variant) -> [Element]
public func sha3(_ variant: hhVDoctorSDK.SHA3.Variant) -> [Element]
public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
public func crc16(seed: Swift.UInt16? = nil) -> Swift.UInt16
public func encrypt(cipher: hhVDoctorSDK.Cipher) throws -> [Element]
public func decrypt(cipher: hhVDoctorSDK.Cipher) throws -> [Element]
public func authenticate<A>(with authenticator: A) throws -> [Element] where A : hhVDoctorSDK.Authenticator
}
extension Array where Element == Swift.UInt8 {
public func toBase64() -> Swift.String?
public init(base64: Swift.String)
}
public protocol Authenticator {
func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
public enum Bit : Swift.Int {
case zero
case one
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
public enum BlockMode {
case ECB, CBC(iv: Swift.Array<Swift.UInt8>), PCBC(iv: Swift.Array<Swift.UInt8>), CFB(iv: Swift.Array<Swift.UInt8>), OFB(iv: Swift.Array<Swift.UInt8>), CTR(iv: Swift.Array<Swift.UInt8>)
public enum Error : Swift.Error {
case invalidKeyOrInitializationVector
case invalidInitializationVector
public static func == (a: hhVDoctorSDK.BlockMode.Error, b: hhVDoctorSDK.BlockMode.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
}
extension Blowfish {
convenience public init(key: Swift.String, iv: Swift.String, padding: hhVDoctorSDK.Padding = .pkcs7) throws
}
final public class Blowfish {
public enum Error : Swift.Error {
case dataPaddingRequired
case invalidKeyOrInitializationVector
case invalidInitializationVector
public static func == (a: hhVDoctorSDK.Blowfish.Error, b: hhVDoctorSDK.Blowfish.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public static let blockSize: Swift.Int
final public let keySize: Swift.Int
public init(key: Swift.Array<Swift.UInt8>, blockMode: hhVDoctorSDK.BlockMode = .CBC(iv: Array<UInt8>(repeating: 0, count: Blowfish.blockSize)), padding: hhVDoctorSDK.Padding) throws
@objc deinit
}
extension Blowfish : hhVDoctorSDK.Cipher {
final public func encrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
final public func decrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
}
public class BusyPics {
public static let `default`: hhVDoctorSDK.BusyPics
public func cacheImgs()
public func getImgs() -> [Foundation.URL?]
@objc deinit
}
extension ChaCha20 {
convenience public init(key: Swift.String, iv: Swift.String) throws
}
final public class ChaCha20 {
public enum Error : Swift.Error {
case invalidKeyOrInitializationVector
public static func == (a: hhVDoctorSDK.ChaCha20.Error, b: hhVDoctorSDK.ChaCha20.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public static let blockSize: Swift.Int
final public let keySize: Swift.Int
public init(key: Swift.Array<Swift.UInt8>, iv nonce: Swift.Array<Swift.UInt8>) throws
@objc deinit
}
extension ChaCha20 : hhVDoctorSDK.Cipher {
final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
extension ChaCha20 {
public struct Encryptor : hhVDoctorSDK.Updatable {
mutating public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
}
}
extension ChaCha20 {
public struct Decryptor : hhVDoctorSDK.Updatable {
mutating public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = true) throws -> Swift.Array<Swift.UInt8>
}
}
extension ChaCha20 : hhVDoctorSDK.Cryptors {
final public func makeEncryptor() -> hhVDoctorSDK.ChaCha20.Encryptor
final public func makeDecryptor() -> hhVDoctorSDK.ChaCha20.Decryptor
public typealias EncryptorType = hhVDoctorSDK.ChaCha20.Encryptor
public typealias DecryptorType = hhVDoctorSDK.ChaCha20.Decryptor
}
final public class Checksum {
@objc deinit
}
extension Checksum {
public static func crc32(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
public static func crc16(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt16? = nil) -> Swift.UInt16
}
public enum CipherError : Swift.Error {
case encrypt
case decrypt
public static func == (a: hhVDoctorSDK.CipherError, b: hhVDoctorSDK.CipherError) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public protocol Cipher : AnyObject {
var keySize: Swift.Int { get }
func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
extension Cipher {
public func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
public func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
final public class CMAC : hhVDoctorSDK.Authenticator {
public enum Error : Swift.Error {
case wrongKeyLength
public static func == (a: hhVDoctorSDK.CMAC.Error, b: hhVDoctorSDK.CMAC.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public init(key: Swift.Array<Swift.UInt8>) throws
final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
@objc deinit
}
public protocol Cryptors : AnyObject {
associatedtype EncryptorType : hhVDoctorSDK.Updatable
associatedtype DecryptorType : hhVDoctorSDK.Updatable
func makeEncryptor() throws -> Self.EncryptorType
func makeDecryptor() throws -> Self.DecryptorType
static func randomIV(_ blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
}
extension Cryptors {
public static func randomIV(_ blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
}
extension Data {
public func checksum() -> Swift.UInt16
public func md5() -> Foundation.Data
public func sha1() -> Foundation.Data
public func sha224() -> Foundation.Data
public func sha256() -> Foundation.Data
public func sha384() -> Foundation.Data
public func sha512() -> Foundation.Data
public func sha3(_ variant: hhVDoctorSDK.SHA3.Variant) -> Foundation.Data
public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Foundation.Data
public func crc16(seed: Swift.UInt16? = nil) -> Foundation.Data
public func encrypt(cipher: hhVDoctorSDK.Cipher) throws -> Foundation.Data
public func decrypt(cipher: hhVDoctorSDK.Cipher) throws -> Foundation.Data
public func authenticate(with authenticator: hhVDoctorSDK.Authenticator) throws -> Foundation.Data
}
extension Data {
public init(hex: Swift.String)
public var bytes: Swift.Array<Swift.UInt8> {
get
}
public func toHexString() -> Swift.String
}
public typealias Hash = hhVDoctorSDK.Digest
public struct Digest {
public static func md5(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha1(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha224(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha256(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha384(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha512(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
public static func sha2(_ bytes: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.SHA2.Variant) -> Swift.Array<Swift.UInt8>
public static func sha3(_ bytes: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.SHA3.Variant) -> Swift.Array<Swift.UInt8>
}
@objc public protocol FloatRatingViewDelegate {
@objc func floatRatingView(_ ratingView: hhVDoctorSDK.FloatRatingView, didUpdate rating: Swift.Float)
@objc optional func floatRatingView(_ ratingView: hhVDoctorSDK.FloatRatingView, isUpdating rating: Swift.Float)
}
@objc @IBDesignable open class FloatRatingView : UIKit.UIView {
weak open var delegate: hhVDoctorSDK.FloatRatingViewDelegate?
@objc @IBInspectable open var emptyImage: UIKit.UIImage? {
@objc get
@objc set
}
@objc @IBInspectable open var fullImage: UIKit.UIImage? {
@objc get
@objc set
}
@objc @IBInspectable open var minRating: Swift.Int {
@objc get
@objc set
}
@objc @IBInspectable open var maxRating: Swift.Int {
@objc get
@objc set
}
@objc @IBInspectable open var minImageSize: CoreGraphics.CGSize
@objc @IBInspectable open var rating: Swift.Float {
@objc get
@objc set
}
@objc @IBInspectable open var editable: Swift.Bool
@objc @IBInspectable open var halfRatings: Swift.Bool
@objc @IBInspectable open var floatRatings: Swift.Bool
@objc required override dynamic public init(frame: CoreGraphics.CGRect)
@objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
@objc override dynamic open func layoutSubviews()
@objc override dynamic open func touchesBegan(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
@objc override dynamic open func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
@objc override dynamic open func touchesEnded(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?)
@objc deinit
}
@objc public class HHAccountManager : ObjectiveC.NSObject {
public static func getUUID() -> Swift.String?
@objc override dynamic public init()
@objc deinit
}
public class HHCameraConfig {
weak public var sender: UIKit.UIViewController!
public var mediaType: hhVDoctorSDK.HHMediaType
public var isGrayCam: Swift.Bool
public var canReduce: Swift.Bool
public var autoUpload: Swift.Bool
public var maxCount: Swift.Int?
public var crop: hhVDoctorSDK.onCropFinish?
public var canceled: hhVDoctorSDK.onCanceled?
public init()
public func build(_ block: (inout hhVDoctorSDK.HHCameraConfig) -> Swift.Void) -> hhVDoctorSDK.HHCameraConfig
@objc deinit
}
public typealias HHFetchBlock = (UIKit.UIImage?, [Swift.AnyHashable : Any]?) -> Swift.Void
public typealias onCanceled = (() -> Swift.Void)
public typealias onCapFinished = (([hhVDoctorSDK.HHCameraImageModel]?) -> Swift.Void)
public typealias onCropFinish = (UIKit.UIImage, Swift.String?) -> Swift.Void
public enum HHMediaType : Swift.Int {
case cusCamera
case sysCamera
case cusVideo
case sysVideo
case photoImage
case photoVideo
case cusPhoto
case sysCrop
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
public enum DateFormat : Swift.String {
case Full
case SingleDate
case Single
case WithoutSecond
case WithoutYearAndSecond
case HourMinute
case CN_Month_Day
case CN_Hour_Minute
public typealias RawValue = Swift.String
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
}
@objc public class HHDateUtils : ObjectiveC.NSObject {
public class func getDateForChinaStr() -> Swift.String
public static func stringWithDurationFromSeconds(_ seconds: Foundation.TimeInterval) -> Swift.String
public static func component(_ date: Foundation.Date) -> Foundation.DateComponents
@objc override dynamic public init()
@objc deinit
}
extension HHDateUtils {
public class func date2String(_ date: Foundation.Date, format: Swift.String) -> Swift.String
public class func date2String(_ date: Foundation.Date, format: hhVDoctorSDK.DateFormat) -> Swift.String
}
extension HHDateUtils {
public class func string2Date(_ str: Swift.String, format: hhVDoctorSDK.DateFormat) -> Foundation.Date?
public class func string2Date(_ str: Swift.String, format: Swift.String) -> Foundation.Date?
}
extension HHDateUtils {
public static func dateStringFromNow(_ date: Swift.Int) -> Swift.String
public static func dateStringFromInt(_ date: Swift.Int) -> Swift.String
public static func dateYearStringFromInt(_ date: Swift.Int) -> Swift.String
}
@objc open class HHDeviceManager : ObjectiveC.NSObject {
public static func jailBrokend() -> Swift.Bool
@objc override dynamic public init()
@objc deinit
}
public struct HHEmptyModel : hhVDoctorSDK.Mappable {
public init()
public init?(map: hhVDoctorSDK.Map)
mutating public func mapping(map: hhVDoctorSDK.Map)
}
public class HHEncryptUtils {
public static func encrypto(key: Swift.String, content: Swift.String) -> Swift.String?
public static func decrypto(key: Swift.String, content: Swift.String) -> Swift.String?
public static func encrypto(key: Swift.String, content: Foundation.Data) -> Foundation.Data?
public static func decrypto(key: Swift.String, content: Foundation.Data) -> Foundation.Data?
@objc deinit
}
@objc public class HHFileCacheManager : ObjectiveC.NSObject {
public enum HHAssetPathType {
case image
case video
case sound
case dicom
case fb
case other
case dataBase
public static func == (a: hhVDoctorSDK.HHFileCacheManager.HHAssetPathType, b: hhVDoctorSDK.HHFileCacheManager.HHAssetPathType) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
@objc override dynamic public init()
@objc deinit
}
extension HHFileCacheManager {
public class func getFileFormat(_ name: Swift.String) -> hhVDoctorSDK.HHFileCacheManager.HHAssetPathType
public class func getFilePath(_ name: Swift.String) -> Swift.String?
}
extension HHFileCacheManager {
public static func saveString2File(_ string: Swift.String?, fileName: Swift.String)
public static func stringFromFile(_ fileName: Swift.String) -> Swift.String?
}
public var uploadManager: hhVDoctorSDK.UploadQueue {
get
}
public class UploadQueue {
@discardableResult
public func upload(files: [Swift.String], config: hhVDoctorSDK.HHUploadConfig) -> hhVDoctorSDK.HHFileUploadManager
public func cancelAll(_ finished: (() -> Swift.Void)? = nil)
@objc deinit
}
public class HHFileUploadManager {
public var mFileQueue: [Swift.String]
public var config: hhVDoctorSDK.HHUploadConfig!
public var mTransFile: Swift.String?
public var isUploading: Swift.Bool
public init(files: [Swift.String], config: hhVDoctorSDK.HHUploadConfig)
public func uploadFile(_ file: [Swift.String])
public func cancalFiles(_ files: [Swift.String], cancelFinish: ((Swift.String) -> Swift.Void)? = nil)
public func cancelAll(_ finished: (() -> Swift.Void)? = nil)
@objc deinit
}
public protocol HHHUDable {
var autoDismissDuration: Foundation.TimeInterval { get }
func showHUD()
func dismissHUD()
func showSuccess(_ message: Swift.String?)
func showError(_ messgae: Swift.String?)
func setDismissDuration(_ duraion: Foundation.TimeInterval)
}
public enum HHLogMode : Swift.Int {
case error
case warn
case info
case debug
case verbose
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
public func logging(type: hhVDoctorSDK.HHLogMode = .info, _ tip: Swift.String)
@objc open class HHMediaStatusCheckUtils : ObjectiveC.NSObject {
open class func checkCameraAccess() -> Swift.Bool
open class func checkCameraVideoPermission() -> Swift.Bool
open class func checkAlbumAccess() -> Swift.Bool
open class func checkAudioAccess() -> Swift.Bool
@objc override dynamic public init()
@objc deinit
}
public class HHModelCache {
public static let instance: hhVDoctorSDK.HHModelCache
public func cacheModel(_ name: Swift.String, content: Swift.String?)
public func cacheModel(_ name: Swift.String, content: Foundation.Data?)
public func getCahceInfo(_ docId: Swift.String?, name: Swift.String, key: Swift.String) -> Swift.String?
public func getCacheAsync(_ docId: Swift.String?, name: Swift.String, key: Swift.String, callback: @escaping ((Swift.String?) -> Swift.Void))
@objc deinit
}
public typealias HHLoginHandler = ((Swift.String?) -> Swift.Void)
@objc public class HHMSDK : ObjectiveC.NSObject {
@objc public static let `default`: hhVDoctorSDK.HHMSDK
@objc public func start(option: hhVDoctorSDK.HHSDKOptions)
@objc public func login(userToken: Swift.String, completion: @escaping hhVDoctorSDK.HHLoginHandler)
@available(*, deprecated, message: "Use login(userToken: String, completion: @escaping HHLoginHandler) instead.")
@objc public func login(uuid: Swift.Int, completion: @escaping hhVDoctorSDK.HHLoginHandler)
@objc public func logout(complete: ((Swift.String?) -> Swift.Void)? = nil)
@objc public func switchEnv(_ development: Swift.Bool)
@objc public func startCall(_ type: hhVDoctorSDK.HHCallType)
@objc public func updateAPNS(token: Foundation.Data)
@objc public var SDKVersion: Swift.String {
@objc get
}
@objc public var isLogined: Swift.Bool {
@objc get
}
@objc public var userToken: Swift.String? {
@objc get
}
@objc public func add(delegate: hhVDoctorSDK.HHMVideoDelegate)
@objc public func remove(delegate: hhVDoctorSDK.HHMVideoDelegate)
@objc override dynamic public init()
@objc deinit
}
extension HHMSDK {
@objc dynamic public func getMedicDetail(userToken: Swift.String, medicId: Swift.String) -> Swift.String
@objc dynamic public func getMedicList(userToken: Swift.String) -> Swift.String
@objc dynamic public func getAllMedics(userToken: Swift.String) -> Swift.String
}
@objc public enum HHMLoginCode : Swift.Int {
case OK = 0
case netError = -1
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
@objc public enum HHCallType : Swift.Int {
case child = 600000
case adult = 600002
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
@objc public enum HHMCallingState : Swift.Int {
case onStart = 0
case waitingDoctor
case callFreeDoctor
case callConnect
case didRing
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
@objc public protocol HHMVideoDelegate : ObjectiveC.NSObjectProtocol {
@objc optional func callStateChange(_ state: hhVDoctorSDK.HHMCallingState)
@objc optional func callDidEstablish()
@objc optional func onFail(_ errorCode: Swift.Int, errrorStr: Swift.String?)
@objc optional func onCancel()
@objc optional func callDidFinish()
@objc optional func onExtensionDoctor()
@objc optional func onReceive(_ callID: Swift.String)
@objc optional func onResponse(_ accept: Swift.Bool)
@objc optional func onForceOffline()
}
public typealias HHNetError = ((Swift.String) -> (Swift.Void))
public typealias HHNetSuccessNoData = () -> Swift.Void
public typealias NetResult = (Swift.Bool, Swift.String) -> (Swift.Void)
public enum HHRequestMethod {
case get
case post
public static func == (a: hhVDoctorSDK.HHRequestMethod, b: hhVDoctorSDK.HHRequestMethod) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public enum HHServerType {
case pay
case pacs
case weixin
case uploadLog
public static func == (a: hhVDoctorSDK.HHServerType, b: hhVDoctorSDK.HHServerType) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public struct HHRequestData {
public init(body: [Swift.String : Any] = ["default_sw":"default"], param: [Swift.String : Any] = ["default_sw":"default"])
public var mHttpBody: [Swift.String : Any]
public var mParameters: [Swift.String : Any]
}
extension UIControl.State : Swift.Hashable {
public var hashValue: Swift.Int {
get
}
}
@objc @IBDesignable public class HHPagerView : UIKit.UIView, UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegate {
@objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
@objc override dynamic public func layoutSubviews()
@objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?)
@objc override dynamic public func prepareForInterfaceBuilder()
@objc deinit
@objc public func numberOfSections(in collectionView: UIKit.UICollectionView) -> Swift.Int
@objc public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int
@objc public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell
@objc public func collectionView(_ collectionView: UIKit.UICollectionView, shouldHighlightItemAt indexPath: Foundation.IndexPath) -> Swift.Bool
@objc public func collectionView(_ collectionView: UIKit.UICollectionView, didHighlightItemAt indexPath: Foundation.IndexPath)
@objc public func collectionView(_ collectionView: UIKit.UICollectionView, shouldSelectItemAt indexPath: Foundation.IndexPath) -> Swift.Bool
@objc public func collectionView(_ collectionView: UIKit.UICollectionView, didSelectItemAt indexPath: Foundation.IndexPath)
@objc public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
@objc public func collectionView(_ collectionView: UIKit.UICollectionView, didEndDisplaying cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath)
@objc public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView)
@objc public func scrollViewWillBeginDragging(_ scrollView: UIKit.UIScrollView)
@objc public func scrollViewWillEndDragging(_ scrollView: UIKit.UIScrollView, withVelocity velocity: CoreGraphics.CGPoint, targetContentOffset: Swift.UnsafeMutablePointer<CoreGraphics.CGPoint>)
@objc public func scrollViewDidEndDecelerating(_ scrollView: UIKit.UIScrollView)
@objc public func scrollViewDidEndScrollingAnimation(_ scrollView: UIKit.UIScrollView)
}
@objc public enum HHPagerViewTransformerType : Swift.Int {
case crossFading
case zoomOut
case depth
case overlap
case linear
case coverFlow
case ferrisWheel
case invertedFerrisWheel
case cubic
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
@objc public class HHPhotoPickerController : UIKit.UINavigationController {
@objc override dynamic public func viewDidLoad()
convenience public init(localPath: Swift.String? = nil, deleteMode: Swift.Bool = false, finish: (([hhVDoctorSDK.HHCameraImageModel]?) -> Swift.Void)? = nil)
public static func selectLocalImags(path: Swift.String? = nil, finish: (([hhVDoctorSDK.HHCameraImageModel]?) -> Swift.Void)?) -> hhVDoctorSDK.HHPhotoPickerController
@objc deinit
@available(iOS 5.0, *)
@objc override dynamic public init(navigationBarClass: Swift.AnyClass?, toolbarClass: Swift.AnyClass?)
@objc override dynamic public init(rootViewController: UIKit.UIViewController)
@objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
@objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
}
public class HHRequest<T> where T : hhVDoctorSDK.Mappable {
public typealias HHNetSuccess = (T) -> Swift.Void
public typealias HHNetSuccessForArray = ([T]) -> Swift.Void
public var mRequestData: hhVDoctorSDK.HHRequestData?
public var mRequestFail: hhVDoctorSDK.HHNetError?
public var mRequestSuccess: hhVDoctorSDK.HHRequest<T>.HHNetSuccess?
public var mRequestSuccessNoData: hhVDoctorSDK.HHNetSuccessNoData?
public var mRequestSuccessForArray: hhVDoctorSDK.HHRequest<T>.HHNetSuccessForArray?
public var mConfig: hhVDoctorSDK.HHRequestConfig?
required public init(aRequestConfig: hhVDoctorSDK.HHRequestConfig, requestData: hhVDoctorSDK.HHRequestData? = nil)
public func start()
public func cancel()
@objc deinit
}
public protocol HHRequestConfig {
func serviceURLSuffix() -> Swift.String
func isNeedUserInfo() -> Swift.Bool
func requestMethod() -> hhVDoctorSDK.HHRequestMethod
func requestType() -> hhVDoctorSDK.HHServerType
func extensionUrlHost() -> Swift.String?
func needSaveCache() -> Swift.Bool
func cacheKey() -> Swift.String?
func loadAppVersion() -> Swift.Bool
func needDNS() -> Swift.Bool
func needEncrypt() -> Swift.Bool
}
extension HHRequestConfig {
public func needSaveCache() -> Swift.Bool
public func cacheKey() -> Swift.String?
public func isNeedUserInfo() -> Swift.Bool
public func requestMethod() -> hhVDoctorSDK.HHRequestMethod
public func requestType() -> hhVDoctorSDK.HHServerType
public func extensionUrlHost() -> Swift.String?
public func isHaveExtensionUrl() -> Swift.Bool
public func loadAppVersion() -> Swift.Bool
public func needDNS() -> Swift.Bool
public func needEncrypt() -> Swift.Bool
}
extension HHRequest {
public func startForArray(_ successCallBack: @escaping hhVDoctorSDK.HHRequest<T>.HHNetSuccessForArray, failCallBack: @escaping hhVDoctorSDK.HHNetError)
}
public var HMDefaultOpt: hhVDoctorSDK.HHSDKOptions {
get
}
public var HMHudManager: hhVDoctorSDK.HHHUDable {
get
}
@objc public class HHSDKOptions : ObjectiveC.NSObject {
@objc public static let `default`: hhVDoctorSDK.HHSDKOptions
@objc public var hudDisTime: Foundation.TimeInterval {
@objc get
@objc set
}
@objc public var isDebug: Swift.Bool
@objc public var isDevelopment: Swift.Bool
public var hudManager: hhVDoctorSDK.HHHUDable
@objc public var productId: Swift.String
@objc public var cerName: Swift.String?
@objc public var allowBeauty: Swift.Bool
@objc public var allowEvaluate: Swift.Bool
public var syncLogin: Swift.Bool
public var logCallback: ((Swift.String) -> Swift.Void)?
final public let sdkVersion: Swift.String
@objc public init(productId: Swift.String, isDebug: Swift.Bool = true, isDevelop: Swift.Bool = true)
@objc override dynamic public init()
@objc deinit
}
public class UrlParams {
public static func addCommon(_ param: [Swift.String : Any]?) -> [Swift.String : Any]
@objc deinit
}
public class HHUserModel : hhVDoctorSDK.Mappable {
public var product: hhVDoctorSDK.HHMemberInfoModel?
public var isMember: Swift.Bool?
required public init?(map: hhVDoctorSDK.Map)
public func mapping(map: hhVDoctorSDK.Map)
@objc deinit
}
public struct HHMemberInfoModel : hhVDoctorSDK.Mappable {
public var productStatusDescn: Swift.String?
public init?(map: hhVDoctorSDK.Map)
mutating public func mapping(map: hhVDoctorSDK.Map)
}
open class HHValueObservable<T> {
public typealias Observer = (T) -> Swift.Void
open var observer: hhVDoctorSDK.HHValueObservable<T>.Observer?
open func observe(_ observer: hhVDoctorSDK.HHValueObservable<T>.Observer?)
open var value: T {
get
set
}
public init(_ v: T)
@objc deinit
}
public struct HKDF {
public enum Error : Swift.Error {
case invalidInput
case derivedKeyTooLong
public static func == (a: hhVDoctorSDK.HKDF.Error, b: hhVDoctorSDK.HKDF.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>? = nil, info: Swift.Array<Swift.UInt8>? = nil, keyLength: Swift.Int? = nil, variant: hhVDoctorSDK.HMAC.Variant = .sha256) throws
public func calculate() throws -> Swift.Array<Swift.UInt8>
}
extension HMAC {
convenience public init(key: Swift.String, variant: hhVDoctorSDK.HMAC.Variant = .md5) throws
}
final public class HMAC : hhVDoctorSDK.Authenticator {
public enum Error : Swift.Error {
case authenticateError
case invalidInput
public static func == (a: hhVDoctorSDK.HMAC.Error, b: hhVDoctorSDK.HMAC.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public enum Variant {
case sha1, sha256, sha384, sha512, md5
public static func == (a: hhVDoctorSDK.HMAC.Variant, b: hhVDoctorSDK.HMAC.Variant) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public init(key: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.HMAC.Variant = .md5)
final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
@objc deinit
}
public let KeychainAccessErrorDomain: Swift.String
public enum ItemClass {
case genericPassword
case internetPassword
}
public enum ProtocolType {
case ftp
case ftpAccount
case http
case irc
case nntp
case pop3
case smtp
case socks
case imap
case ldap
case appleTalk
case afp
case telnet
case ssh
case ftps
case https
case httpProxy
case httpsProxy
case ftpProxy
case smb
case rtsp
case rtspProxy
case daap
case eppc
case ipp
case nntps
case ldaps
case telnetS
case imaps
case ircs
case pop3S
}
public enum AuthenticationType {
case ntlm
case msn
case dpa
case rpa
case httpBasic
case httpDigest
case htmlForm
case `default`
}
public enum Accessibility {
case whenUnlocked
case afterFirstUnlock
case always
@available(iOS 8.0, OSX 10.10, *)
case whenPasscodeSetThisDeviceOnly
case whenUnlockedThisDeviceOnly
case afterFirstUnlockThisDeviceOnly
case alwaysThisDeviceOnly
}
public struct AuthenticationPolicy : Swift.OptionSet {
@available(iOS 8.0, OSX 10.10, *)
@available(watchOS, unavailable)
public static let userPresence: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(OSX, unavailable)
@available(watchOS, unavailable)
public static let touchIDAny: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(OSX, unavailable)
@available(watchOS, unavailable)
public static let touchIDCurrentSet: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, OSX 10.11, *)
@available(watchOS, unavailable)
public static let devicePasscode: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(OSX, unavailable)
@available(watchOS, unavailable)
public static let or: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(OSX, unavailable)
@available(watchOS, unavailable)
public static let and: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(OSX, unavailable)
@available(watchOS, unavailable)
public static let privateKeyUsage: hhVDoctorSDK.AuthenticationPolicy
@available(iOS 9.0, *)
@available(OSX, unavailable)
@available(watchOS, unavailable)
public static let applicationPassword: hhVDoctorSDK.AuthenticationPolicy
public let rawValue: Swift.UInt
public init(rawValue: Swift.UInt)
public typealias Element = hhVDoctorSDK.AuthenticationPolicy
public typealias ArrayLiteralElement = hhVDoctorSDK.AuthenticationPolicy
public typealias RawValue = Swift.UInt
}
public struct Attributes {
public var `class`: Swift.String? {
get
}
public var data: Foundation.Data? {
get
}
public var ref: Foundation.Data? {
get
}
public var persistentRef: Foundation.Data? {
get
}
public var accessible: Swift.String? {
get
}
public var accessControl: Security.SecAccessControl? {
get
}
public var accessGroup: Swift.String? {
get
}
public var synchronizable: Swift.Bool? {
get
}
public var creationDate: Foundation.Date? {
get
}
public var modificationDate: Foundation.Date? {
get
}
public var attributeDescription: Swift.String? {
get
}
public var comment: Swift.String? {
get
}
public var creator: Swift.String? {
get
}
public var type: Swift.String? {
get
}
public var label: Swift.String? {
get
}
public var isInvisible: Swift.Bool? {
get
}
public var isNegative: Swift.Bool? {
get
}
public var account: Swift.String? {
get
}
public var service: Swift.String? {
get
}
public var generic: Foundation.Data? {
get
}
public var securityDomain: Swift.String? {
get
}
public var server: Swift.String? {
get
}
public var `protocol`: Swift.String? {
get
}
public var authenticationType: Swift.String? {
get
}
public var port: Swift.Int? {
get
}
public var path: Swift.String? {
get
}
public subscript(key: Swift.String) -> Any? {
get
}
}
final public class Keychain {
final public var itemClass: hhVDoctorSDK.ItemClass {
get
}
final public var service: Swift.String {
get
}
final public var accessGroup: Swift.String? {
get
}
final public var server: Foundation.URL {
get
}
final public var protocolType: hhVDoctorSDK.ProtocolType {
get
}
final public var authenticationType: hhVDoctorSDK.AuthenticationType {
get
}
final public var accessibility: hhVDoctorSDK.Accessibility {
get
}
@available(iOS 8.0, OSX 10.10, *)
@available(watchOS, unavailable)
final public var authenticationPolicy: hhVDoctorSDK.AuthenticationPolicy? {
get
}
final public var synchronizable: Swift.Bool {
get
}
final public var label: Swift.String? {
get
}
final public var comment: Swift.String? {
get
}
@available(iOS 8.0, OSX 10.10, *)
@available(watchOS, unavailable)
final public var authenticationPrompt: Swift.String? {
get
}
@available(iOS 9.0, OSX 10.11, *)
final public var authenticationContext: LocalAuthentication.LAContext? {
get
}
convenience public init()
convenience public init(service: Swift.String)
convenience public init(accessGroup: Swift.String)
convenience public init(service: Swift.String, accessGroup: Swift.String)
convenience public init(server: Swift.String, protocolType: hhVDoctorSDK.ProtocolType, authenticationType: hhVDoctorSDK.AuthenticationType = .default)
convenience public init(server: Foundation.URL, protocolType: hhVDoctorSDK.ProtocolType, authenticationType: hhVDoctorSDK.AuthenticationType = .default)
final public func accessibility(_ accessibility: hhVDoctorSDK.Accessibility) -> hhVDoctorSDK.Keychain
@available(iOS 8.0, OSX 10.10, *)
@available(watchOS, unavailable)
final public func accessibility(_ accessibility: hhVDoctorSDK.Accessibility, authenticationPolicy: hhVDoctorSDK.AuthenticationPolicy) -> hhVDoctorSDK.Keychain
final public func synchronizable(_ synchronizable: Swift.Bool) -> hhVDoctorSDK.Keychain
final public func label(_ label: Swift.String) -> hhVDoctorSDK.Keychain
final public func comment(_ comment: Swift.String) -> hhVDoctorSDK.Keychain
final public func attributes(_ attributes: [Swift.String : Any]) -> hhVDoctorSDK.Keychain
@available(iOS 8.0, OSX 10.10, *)
@available(watchOS, unavailable)
final public func authenticationPrompt(_ authenticationPrompt: Swift.String) -> hhVDoctorSDK.Keychain
@available(iOS 9.0, OSX 10.11, *)
final public func authenticationContext(_ authenticationContext: LocalAuthentication.LAContext) -> hhVDoctorSDK.Keychain
final public func get(_ key: Swift.String) throws -> Swift.String?
final public func getString(_ key: Swift.String) throws -> Swift.String?
final public func getData(_ key: Swift.String) throws -> Foundation.Data?
final public func get<T>(_ key: Swift.String, handler: (hhVDoctorSDK.Attributes?) -> T) throws -> T
final public func set(_ value: Swift.String, key: Swift.String) throws
final public func set(_ value: Foundation.Data, key: Swift.String) throws
final public subscript(key: Swift.String) -> Swift.String? {
get
set
}
final public subscript(string key: Swift.String) -> Swift.String? {
get
set
}
final public subscript(data key: Swift.String) -> Foundation.Data? {
get
set
}
final public subscript(attributes key: Swift.String) -> hhVDoctorSDK.Attributes? {
get
}
final public func remove(_ key: Swift.String) throws
final public func removeAll() throws
final public func contains(_ key: Swift.String) throws -> Swift.Bool
final public class func allKeys(_ itemClass: hhVDoctorSDK.ItemClass) -> [(Swift.String, Swift.String)]
final public func allKeys() -> [Swift.String]
final public class func allItems(_ itemClass: hhVDoctorSDK.ItemClass) -> [[Swift.String : Any]]
final public func allItems() -> [[Swift.String : Any]]
@available(iOS 8.0, *)
final public func getSharedPassword(_ completion: @escaping (Swift.String?, Swift.String?, Swift.Error?) -> () = { account, password, error -> () in })
@available(iOS 8.0, *)
final public func getSharedPassword(_ account: Swift.String, completion: @escaping (Swift.String?, Swift.Error?) -> () = { password, error -> () in })
@available(iOS 8.0, *)
final public func setSharedPassword(_ password: Swift.String, account: Swift.String, completion: @escaping (Swift.Error?) -> () = { e -> () in })
@available(iOS 8.0, *)
final public func removeSharedPassword(_ account: Swift.String, completion: @escaping (Swift.Error?) -> () = { e -> () in })
@available(iOS 8.0, *)
final public class func requestSharedWebCredential(_ completion: @escaping ([[Swift.String : Swift.String]], Swift.Error?) -> () = { credentials, error -> () in })
@available(iOS 8.0, *)
final public class func requestSharedWebCredential(domain: Swift.String, completion: @escaping ([[Swift.String : Swift.String]], Swift.Error?) -> () = { credentials, error -> () in })
@available(iOS 8.0, *)
final public class func requestSharedWebCredential(domain: Swift.String, account: Swift.String, completion: @escaping ([[Swift.String : Swift.String]], Swift.Error?) -> () = { credentials, error -> () in })
@available(iOS 8.0, *)
final public class func generatePassword() -> Swift.String
@objc deinit
}
extension Keychain : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
final public var description: Swift.String {
get
}
final public var debugDescription: Swift.String {
get
}
}
extension Attributes : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
public var description: Swift.String {
get
}
public var debugDescription: Swift.String {
get
}
}
extension ItemClass : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public var description: Swift.String {
get
}
public typealias RawValue = Swift.String
}
extension ProtocolType : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public var description: Swift.String {
get
}
public typealias RawValue = Swift.String
}
extension AuthenticationType : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public var description: Swift.String {
get
}
public typealias RawValue = Swift.String
}
extension Accessibility : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public var description: Swift.String {
get
}
public typealias RawValue = Swift.String
}
public enum Status : Darwin.OSStatus, Swift.Error {
case success
case unimplemented
case diskFull
case io
case opWr
case param
case wrPerm
case allocate
case userCanceled
case badReq
case internalComponent
case notAvailable
case readOnly
case authFailed
case noSuchKeychain
case invalidKeychain
case duplicateKeychain
case duplicateCallback
case invalidCallback
case duplicateItem
case itemNotFound
case bufferTooSmall
case dataTooLarge
case noSuchAttr
case invalidItemRef
case invalidSearchRef
case noSuchClass
case noDefaultKeychain
case interactionNotAllowed
case readOnlyAttr
case wrongSecVersion
case keySizeNotAllowed
case noStorageModule
case noCertificateModule
case noPolicyModule
case interactionRequired
case dataNotAvailable
case dataNotModifiable
case createChainFailed
case invalidPrefsDomain
case inDarkWake
case aclNotSimple
case policyNotFound
case invalidTrustSetting
case noAccessForItem
case invalidOwnerEdit
case trustNotAvailable
case unsupportedFormat
case unknownFormat
case keyIsSensitive
case multiplePrivKeys
case passphraseRequired
case invalidPasswordRef
case invalidTrustSettings
case noTrustSettings
case pkcs12VerifyFailure
case invalidCertificate
case notSigner
case policyDenied
case invalidKey
case decode
case `internal`
case unsupportedAlgorithm
case unsupportedOperation
case unsupportedPadding
case itemInvalidKey
case itemInvalidKeyType
case itemInvalidValue
case itemClassMissing
case itemMatchUnsupported
case useItemListUnsupported
case useKeychainUnsupported
case useKeychainListUnsupported
case returnDataUnsupported
case returnAttributesUnsupported
case returnRefUnsupported
case returnPersitentRefUnsupported
case valueRefUnsupported
case valuePersistentRefUnsupported
case returnMissingPointer
case matchLimitUnsupported
case itemIllegalQuery
case waitForCallback
case missingEntitlement
case upgradePending
case mpSignatureInvalid
case otrTooOld
case otrIDTooNew
case serviceNotAvailable
case insufficientClientID
case deviceReset
case deviceFailed
case appleAddAppACLSubject
case applePublicKeyIncomplete
case appleSignatureMismatch
case appleInvalidKeyStartDate
case appleInvalidKeyEndDate
case conversionError
case appleSSLv2Rollback
case quotaExceeded
case fileTooBig
case invalidDatabaseBlob
case invalidKeyBlob
case incompatibleDatabaseBlob
case incompatibleKeyBlob
case hostNameMismatch
case unknownCriticalExtensionFlag
case noBasicConstraints
case noBasicConstraintsCA
case invalidAuthorityKeyID
case invalidSubjectKeyID
case invalidKeyUsageForPolicy
case invalidExtendedKeyUsage
case invalidIDLinkage
case pathLengthConstraintExceeded
case invalidRoot
case crlExpired
case crlNotValidYet
case crlNotFound
case crlServerDown
case crlBadURI
case unknownCertExtension
case unknownCRLExtension
case crlNotTrusted
case crlPolicyFailed
case idpFailure
case smimeEmailAddressesNotFound
case smimeBadExtendedKeyUsage
case smimeBadKeyUsage
case smimeKeyUsageNotCritical
case smimeNoEmailAddress
case smimeSubjAltNameNotCritical
case sslBadExtendedKeyUsage
case ocspBadResponse
case ocspBadRequest
case ocspUnavailable
case ocspStatusUnrecognized
case endOfData
case incompleteCertRevocationCheck
case networkFailure
case ocspNotTrustedToAnchor
case recordModified
case ocspSignatureError
case ocspNoSigner
case ocspResponderMalformedReq
case ocspResponderInternalError
case ocspResponderTryLater
case ocspResponderSignatureRequired
case ocspResponderUnauthorized
case ocspResponseNonceMismatch
case codeSigningBadCertChainLength
case codeSigningNoBasicConstraints
case codeSigningBadPathLengthConstraint
case codeSigningNoExtendedKeyUsage
case codeSigningDevelopment
case resourceSignBadCertChainLength
case resourceSignBadExtKeyUsage
case trustSettingDeny
case invalidSubjectName
case unknownQualifiedCertStatement
case mobileMeRequestQueued
case mobileMeRequestRedirected
case mobileMeServerError
case mobileMeServerNotAvailable
case mobileMeServerAlreadyExists
case mobileMeServerServiceErr
case mobileMeRequestAlreadyPending
case mobileMeNoRequestPending
case mobileMeCSRVerifyFailure
case mobileMeFailedConsistencyCheck
case notInitialized
case invalidHandleUsage
case pvcReferentNotFound
case functionIntegrityFail
case internalError
case memoryError
case invalidData
case mdsError
case invalidPointer
case selfCheckFailed
case functionFailed
case moduleManifestVerifyFailed
case invalidGUID
case invalidHandle
case invalidDBList
case invalidPassthroughID
case invalidNetworkAddress
case crlAlreadySigned
case invalidNumberOfFields
case verificationFailure
case unknownTag
case invalidSignature
case invalidName
case invalidCertificateRef
case invalidCertificateGroup
case tagNotFound
case invalidQuery
case invalidValue
case callbackFailed
case aclDeleteFailed
case aclReplaceFailed
case aclAddFailed
case aclChangeFailed
case invalidAccessCredentials
case invalidRecord
case invalidACL
case invalidSampleValue
case incompatibleVersion
case privilegeNotGranted
case invalidScope
case pvcAlreadyConfigured
case invalidPVC
case emmLoadFailed
case emmUnloadFailed
case addinLoadFailed
case invalidKeyRef
case invalidKeyHierarchy
case addinUnloadFailed
case libraryReferenceNotFound
case invalidAddinFunctionTable
case invalidServiceMask
case moduleNotLoaded
case invalidSubServiceID
case attributeNotInContext
case moduleManagerInitializeFailed
case moduleManagerNotFound
case eventNotificationCallbackNotFound
case inputLengthError
case outputLengthError
case privilegeNotSupported
case deviceError
case attachHandleBusy
case notLoggedIn
case algorithmMismatch
case keyUsageIncorrect
case keyBlobTypeIncorrect
case keyHeaderInconsistent
case unsupportedKeyFormat
case unsupportedKeySize
case invalidKeyUsageMask
case unsupportedKeyUsageMask
case invalidKeyAttributeMask
case unsupportedKeyAttributeMask
case invalidKeyLabel
case unsupportedKeyLabel
case invalidKeyFormat
case unsupportedVectorOfBuffers
case invalidInputVector
case invalidOutputVector
case invalidContext
case invalidAlgorithm
case invalidAttributeKey
case missingAttributeKey
case invalidAttributeInitVector
case missingAttributeInitVector
case invalidAttributeSalt
case missingAttributeSalt
case invalidAttributePadding
case missingAttributePadding
case invalidAttributeRandom
case missingAttributeRandom
case invalidAttributeSeed
case missingAttributeSeed
case invalidAttributePassphrase
case missingAttributePassphrase
case invalidAttributeKeyLength
case missingAttributeKeyLength
case invalidAttributeBlockSize
case missingAttributeBlockSize
case invalidAttributeOutputSize
case missingAttributeOutputSize
case invalidAttributeRounds
case missingAttributeRounds
case invalidAlgorithmParms
case missingAlgorithmParms
case invalidAttributeLabel
case missingAttributeLabel
case invalidAttributeKeyType
case missingAttributeKeyType
case invalidAttributeMode
case missingAttributeMode
case invalidAttributeEffectiveBits
case missingAttributeEffectiveBits
case invalidAttributeStartDate
case missingAttributeStartDate
case invalidAttributeEndDate
case missingAttributeEndDate
case invalidAttributeVersion
case missingAttributeVersion
case invalidAttributePrime
case missingAttributePrime
case invalidAttributeBase
case missingAttributeBase
case invalidAttributeSubprime
case missingAttributeSubprime
case invalidAttributeIterationCount
case missingAttributeIterationCount
case invalidAttributeDLDBHandle
case missingAttributeDLDBHandle
case invalidAttributeAccessCredentials
case missingAttributeAccessCredentials
case invalidAttributePublicKeyFormat
case missingAttributePublicKeyFormat
case invalidAttributePrivateKeyFormat
case missingAttributePrivateKeyFormat
case invalidAttributeSymmetricKeyFormat
case missingAttributeSymmetricKeyFormat
case invalidAttributeWrappedKeyFormat
case missingAttributeWrappedKeyFormat
case stagedOperationInProgress
case stagedOperationNotStarted
case verifyFailed
case querySizeUnknown
case blockSizeMismatch
case publicKeyInconsistent
case deviceVerifyFailed
case invalidLoginName
case alreadyLoggedIn
case invalidDigestAlgorithm
case invalidCRLGroup
case certificateCannotOperate
case certificateExpired
case certificateNotValidYet
case certificateRevoked
case certificateSuspended
case insufficientCredentials
case invalidAction
case invalidAuthority
case verifyActionFailed
case invalidCertAuthority
case invaldCRLAuthority
case invalidCRLEncoding
case invalidCRLType
case invalidCRL
case invalidFormType
case invalidID
case invalidIdentifier
case invalidIndex
case invalidPolicyIdentifiers
case invalidTimeString
case invalidReason
case invalidRequestInputs
case invalidResponseVector
case invalidStopOnPolicy
case invalidTuple
case multipleValuesUnsupported
case notTrusted
case noDefaultAuthority
case rejectedForm
case requestLost
case requestRejected
case unsupportedAddressType
case unsupportedService
case invalidTupleGroup
case invalidBaseACLs
case invalidTupleCredendtials
case invalidEncoding
case invalidValidityPeriod
case invalidRequestor
case requestDescriptor
case invalidBundleInfo
case invalidCRLIndex
case noFieldValues
case unsupportedFieldFormat
case unsupportedIndexInfo
case unsupportedLocality
case unsupportedNumAttributes
case unsupportedNumIndexes
case unsupportedNumRecordTypes
case fieldSpecifiedMultiple
case incompatibleFieldFormat
case invalidParsingModule
case databaseLocked
case datastoreIsOpen
case missingValue
case unsupportedQueryLimits
case unsupportedNumSelectionPreds
case unsupportedOperator
case invalidDBLocation
case invalidAccessRequest
case invalidIndexInfo
case invalidNewOwner
case invalidModifyMode
case missingRequiredExtension
case extendedKeyUsageNotCritical
case timestampMissing
case timestampInvalid
case timestampNotTrusted
case timestampServiceNotAvailable
case timestampBadAlg
case timestampBadRequest
case timestampBadDataFormat
case timestampTimeNotAvailable
case timestampUnacceptedPolicy
case timestampUnacceptedExtension
case timestampAddInfoNotAvailable
case timestampSystemFailure
case signingTimeMissing
case timestampRejection
case timestampWaiting
case timestampRevocationWarning
case timestampRevocationNotification
case unexpectedError
}
extension Status : Swift.RawRepresentable, Swift.CustomStringConvertible {
public init(status: Darwin.OSStatus)
public var description: Swift.String {
get
}
public typealias RawValue = Darwin.OSStatus
public init?(rawValue: Darwin.OSStatus)
public var rawValue: Darwin.OSStatus {
get
}
}
extension Status : Foundation.CustomNSError {
public static let errorDomain: Swift.String
public var errorCode: Swift.Int {
get
}
public var errorUserInfo: [Swift.String : Any] {
get
}
}
public class LoginManager {
public static let `default`: hhVDoctorSDK.LoginManager
public var mUUID: Swift.Int?
public func userName() -> Swift.String
public func convert2Model() -> Swift.String?
public func getUserInfo() -> hhVDoctorSDK.HHUserModel?
public func hasLoginData() -> Swift.Bool
public func getUserInfo(token: Swift.String, success: ((Swift.String?) -> Swift.Void)? = nil, fail: ((Swift.String) -> Swift.Void)? = nil)
public func getUserInfoRequest(success: ((Swift.String?) -> Swift.Void)? = nil, fail: ((Swift.String) -> Swift.Void)? = nil)
@objc deinit
}
final public class Map {
final public subscript(key: Swift.String) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, delimiter delimiter: Swift.String) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, nested nested: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, nested nested: Swift.Bool, delimiter delimiter: Swift.String) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, delimiter delimiter: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, nested nested: Swift.Bool, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
final public subscript(key: Swift.String, nested nested: Swift.Bool?, delimiter delimiter: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map {
get
}
@objc deinit
}
public protocol BaseMappable {
mutating func mapping(map: hhVDoctorSDK.Map)
}
public protocol Mappable : hhVDoctorSDK.BaseMappable {
init?(map: hhVDoctorSDK.Map)
}
final public class MD5 {
public init()
final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
@objc deinit
}
extension MD5 : hhVDoctorSDK.Updatable {
final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
}
public protocol SDKRequest : hhVDoctorSDK.HHRequestConfig {
}
infix operator <- : DefaultPrecedence
infix operator >>> : DefaultPrecedence
public func <- <T>(left: inout T, right: hhVDoctorSDK.Map)
public func >>> <T>(left: T, right: hhVDoctorSDK.Map)
public func <- <T>(left: inout T?, right: hhVDoctorSDK.Map)
public func >>> <T>(left: T?, right: hhVDoctorSDK.Map)
public func <- <T>(left: inout T, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: T, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout T?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: T?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, [T]>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, [T]>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, [T]>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, [T]>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Array<T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Array<T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Array<T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Array<T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Array<Swift.Array<T>>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Array<Swift.Array<T>>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Array<Swift.Array<T>>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Array<Swift.Array<T>>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Set<T>, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Set<T>, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable
public func <- <T>(left: inout Swift.Set<T>?, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable
public func >>> <T>(left: Swift.Set<T>?, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable
public protocol PaddingProtocol {
func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8>
}
public enum Padding : hhVDoctorSDK.PaddingProtocol {
case noPadding, zeroPadding, pkcs7, pkcs5
public func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
public func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8>
public static func == (a: hhVDoctorSDK.Padding, b: hhVDoctorSDK.Padding) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
extension PKCS5 {
public struct PBKDF1 {
public enum Error : Swift.Error {
case invalidInput
case derivedKeyTooLong
public static func == (a: hhVDoctorSDK.PKCS5.PBKDF1.Error, b: hhVDoctorSDK.PKCS5.PBKDF1.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public enum Variant {
case md5, sha1
public static func == (a: hhVDoctorSDK.PKCS5.PBKDF1.Variant, b: hhVDoctorSDK.PKCS5.PBKDF1.Variant) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.PKCS5.PBKDF1.Variant = .sha1, iterations: Swift.Int = 4096, keyLength: Swift.Int? = nil) throws
public func calculate() -> Swift.Array<Swift.UInt8>
}
}
extension PKCS5 {
public struct PBKDF2 {
public enum Error : Swift.Error {
case invalidInput
case derivedKeyTooLong
public static func == (a: hhVDoctorSDK.PKCS5.PBKDF2.Error, b: hhVDoctorSDK.PKCS5.PBKDF2.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, iterations: Swift.Int = 4096, keyLength: Swift.Int? = nil, variant: hhVDoctorSDK.HMAC.Variant = .sha256) throws
public func calculate() throws -> Swift.Array<Swift.UInt8>
}
}
@objc public enum PermissionType : Swift.Int {
case locationAlways
case locationWhenInUse
case microphone
case camera
case photos
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
extension PermissionType : Swift.CustomStringConvertible {
public var description: Swift.String {
get
}
}
public class PhotoPicker {
public static func openCamera(config: hhVDoctorSDK.HHCameraConfig, capFinished: hhVDoctorSDK.onCapFinished? = nil)
public static func reduceImages(paths: [Swift.String], finished: @escaping (([Swift.String]) -> Swift.Void))
public class func changeAvatar(vc: UIKit.UIViewController, reference: UIKit.UIView? = nil, uuid: Swift.Int, imgClosure: @escaping (UIKit.UIImage) -> Swift.Void, keyClosure: @escaping (Swift.String) -> Swift.Void)
@objc deinit
}
extension PhotoPicker {
public static func checkPermisstion(_ type: hhVDoctorSDK.PermissionType, authorized: (() -> Swift.Void)?, others: ((hhVDoctorSDK.PermissionType) -> Swift.Void)?)
public static func converSize(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize
}
public class PhotoPickerConfig {
public static let `default`: hhVDoctorSDK.PhotoPickerConfig
public var miniPicTip: Swift.Bool
public var mMaxSelectCount: Swift.Int
public var mDetailColumnCount: Swift.Int
@objc deinit
}
public enum PKCS5 {
}
public enum PKCS7 {
}
final public class Poly1305 : hhVDoctorSDK.Authenticator {
public enum Error : Swift.Error {
case authenticateError
public static func == (a: hhVDoctorSDK.Poly1305.Error, b: hhVDoctorSDK.Poly1305.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public static let blockSize: Swift.Int
public init(key: Swift.Array<Swift.UInt8>)
final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
@objc deinit
}
extension Rabbit {
convenience public init(key: Swift.String) throws
convenience public init(key: Swift.String, iv: Swift.String) throws
}
final public class Rabbit {
public enum Error : Swift.Error {
case invalidKeyOrInitializationVector
public static func == (a: hhVDoctorSDK.Rabbit.Error, b: hhVDoctorSDK.Rabbit.Error) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public static let ivSize: Swift.Int
public static let keySize: Swift.Int
public static let blockSize: Swift.Int
final public var keySize: Swift.Int {
get
}
convenience public init(key: Swift.Array<Swift.UInt8>) throws
public init(key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>?) throws
@objc deinit
}
extension Rabbit : hhVDoctorSDK.Cipher {
final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
public protocol RandomAccessCryptor : hhVDoctorSDK.Updatable {
@discardableResult
mutating func seek(to: Swift.Int) -> Swift.Bool
}
public enum ReachabilityError : Swift.Error {
case FailedToCreateWithAddress(Darwin.sockaddr_in)
case FailedToCreateWithHostname(Swift.String)
case UnableToSetCallback
case UnableToSetDispatchQueue
}
public let ReachabilityChangedNotification: Foundation.NSNotification.Name
public class Reachability {
public typealias NetworkReachable = (hhVDoctorSDK.Reachability) -> ()
public typealias NetworkUnreachable = (hhVDoctorSDK.Reachability) -> ()
public enum NetworkStatus : Swift.CustomStringConvertible {
case notReachable, reachableViaWiFi, reachableViaWWAN
public var description: Swift.String {
get
}
public static func == (a: hhVDoctorSDK.Reachability.NetworkStatus, b: hhVDoctorSDK.Reachability.NetworkStatus) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public var whenReachable: hhVDoctorSDK.Reachability.NetworkReachable?
public var whenUnreachable: hhVDoctorSDK.Reachability.NetworkUnreachable?
public var reachableOnWWAN: Swift.Bool
public var currentReachabilityString: Swift.String {
get
}
public var currentReachabilityStatus: hhVDoctorSDK.Reachability.NetworkStatus {
get
}
required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability)
convenience public init?(hostname: Swift.String)
convenience public init?()
@objc deinit
}
extension Reachability {
public func startNotifier() throws
public func stopNotifier()
public var isReachable: Swift.Bool {
get
}
public var isReachableViaWWAN: Swift.Bool {
get
}
public var isReachableViaWiFi: Swift.Bool {
get
}
public var description: Swift.String {
get
}
}
final public class SHA1 {
public init()
final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
@objc deinit
}
extension SHA1 : hhVDoctorSDK.Updatable {
@discardableResult
final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
}
final public class SHA2 {
public enum Variant : Swift.RawRepresentable {
case sha224, sha256, sha384, sha512
public var digestLength: Swift.Int {
get
}
public var blockSize: Swift.Int {
get
}
public typealias RawValue = Swift.Int
public var rawValue: hhVDoctorSDK.SHA2.Variant.RawValue {
get
}
public init?(rawValue: hhVDoctorSDK.SHA2.Variant.RawValue)
}
public init(variant: hhVDoctorSDK.SHA2.Variant)
final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
@objc deinit
}
extension SHA2 : hhVDoctorSDK.Updatable {
final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
}
final public class SHA3 {
final public let blockSize: Swift.Int
final public let digestLength: Swift.Int
final public let markByte: Swift.UInt8
public enum Variant {
case sha224, sha256, sha384, sha512, keccak224, keccak256, keccak384, keccak512
public var outputLength: Swift.Int {
get
}
public static func == (a: hhVDoctorSDK.SHA3.Variant, b: hhVDoctorSDK.SHA3.Variant) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public init(variant: hhVDoctorSDK.SHA3.Variant)
final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
@objc deinit
}
extension SHA3 : hhVDoctorSDK.Updatable {
final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
}
extension String {
public var bytes: Swift.Array<Swift.UInt8> {
get
}
public func md5() -> Swift.String
public func sha1() -> Swift.String
public func sha224() -> Swift.String
public func sha256() -> Swift.String
public func sha384() -> Swift.String
public func sha512() -> Swift.String
public func sha3(_ variant: hhVDoctorSDK.SHA3.Variant) -> Swift.String
public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.String
public func crc16(seed: Swift.UInt16? = nil) -> Swift.String
public func encrypt(cipher: hhVDoctorSDK.Cipher) throws -> Swift.String
public func encryptToBase64(cipher: hhVDoctorSDK.Cipher) throws -> Swift.String?
public func authenticate<A>(with authenticator: A) throws -> Swift.String where A : hhVDoctorSDK.Authenticator
}
extension String {
public func decryptBase64ToString(cipher: hhVDoctorSDK.Cipher) throws -> Swift.String
public func decryptBase64(cipher: hhVDoctorSDK.Cipher) throws -> Swift.Array<Swift.UInt8>
}
public enum hhToastPosition {
case top
case center
case bottom
public static func == (a: hhVDoctorSDK.hhToastPosition, b: hhVDoctorSDK.hhToastPosition) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
extension UIView {
public func hhmakeToast(_ message: Swift.String)
public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition)
public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint)
public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition, style: hhVDoctorSDK.hhToastStyle?)
public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint, style: hhVDoctorSDK.hhToastStyle?)
public func hhmakeToast(_ message: Swift.String?, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition, title: Swift.String?, image: UIKit.UIImage?, style: hhVDoctorSDK.hhToastStyle?, completion: ((Swift.Bool) -> Swift.Void)?)
public func hhmakeToast(_ message: Swift.String?, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint, title: Swift.String?, image: UIKit.UIImage?, style: hhVDoctorSDK.hhToastStyle?, completion: ((Swift.Bool) -> Swift.Void)?)
public func hhshowToast(_ toast: UIKit.UIView)
public func hhshowToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition, completion: ((Swift.Bool) -> Swift.Void)?)
public func hhshowToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint, completion: ((Swift.Bool) -> Swift.Void)?)
public func hhmakeToastActivity(_ position: hhVDoctorSDK.hhToastPosition)
public func hhmakeToastActivity(_ position: CoreGraphics.CGPoint)
public func hhhideToastActivity()
@objc dynamic public func hhhandleToastTapped(_ recognizer: UIKit.UITapGestureRecognizer)
@objc dynamic public func hhtoastTimerDidFinish(_ timer: Foundation.Timer)
public func hhtoastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: hhVDoctorSDK.hhToastStyle) throws -> UIKit.UIView
}
public struct hhToastStyle {
public init()
public var backgroundColor: UIKit.UIColor
public var titleColor: UIKit.UIColor
public var messageColor: UIKit.UIColor
public var maxWidthPercentage: CoreGraphics.CGFloat {
get
set
}
public var maxHeightPercentage: CoreGraphics.CGFloat {
get
set
}
public var horizontalPadding: CoreGraphics.CGFloat
public var verticalPadding: CoreGraphics.CGFloat
public var cornerRadius: CoreGraphics.CGFloat
public var titleFont: UIKit.UIFont
public var messageFont: UIKit.UIFont
public var titleAlignment: UIKit.NSTextAlignment
public var messageAlignment: UIKit.NSTextAlignment
public var titleNumberOfLines: Swift.Int
public var messageNumberOfLines: Swift.Int
public var displayShadow: Swift.Bool
public var shadowColor: UIKit.UIColor
public var shadowOpacity: Swift.Float {
get
set
}
public var shadowRadius: CoreGraphics.CGFloat
public var shadowOffset: CoreGraphics.CGSize
public var imageSize: CoreGraphics.CGSize
public var activitySize: CoreGraphics.CGSize
public var fadeDuration: Foundation.TimeInterval
}
public func <- <Transform>(left: inout Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout Transform.Object?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: Transform.Object?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [Swift.String : Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [Swift.String : Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [Swift.String : Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [Swift.String : Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Transform.Object?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, [Transform.Object]>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, [Transform.Object]>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, [Transform.Object]>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, [Transform.Object]>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Array<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Array<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Array<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Array<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout [[Transform.Object]], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [[Transform.Object]], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout [[Transform.Object]]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func >>> <Transform>(left: [[Transform.Object]]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType
public func <- <Transform>(left: inout Swift.Set<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Set<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable
public func <- <Transform>(left: inout Swift.Set<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable
public func >>> <Transform>(left: Swift.Set<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable
public protocol TransformType {
associatedtype Object
associatedtype JSON
func transformFromJSON(_ value: Any?) -> Self.Object?
func transformToJSON(_ value: Self.Object?) -> Self.JSON?
}
@objc public class TRTCManager : ObjectiveC.NSObject {
public static let `default`: hhVDoctorSDK.TRTCManager
@objc deinit
}
extension TRTCManager {
public func isLogined() -> Swift.Bool
public func login(complete: @escaping hhVDoctorSDK.HHLoginHandler)
}
extension TRTCManager : ImSDK.TIMMessageListener {
@objc dynamic public func onNewMessage(_ msgs: [Any]!)
}
extension TRTCManager : ImSDK.TIMConnListener {
@objc dynamic public func onConnSucc()
@objc dynamic public func onConnFailed(_ code: Swift.Int32, err: Swift.String!)
@objc dynamic public func onDisconnect(_ code: Swift.Int32, err: Swift.String!)
}
extension TRTCManager : TXLiteAVSDK_TRTC.TRTCCloudDelegate {
@objc dynamic public func onEnterRoom(_ result: Swift.Int)
}
extension TRTCManager : TXLiteAVSDK_TRTC.TRTCLogDelegate {
@objc dynamic public func onLog(_ log: Swift.String?, logLevel level: TXLiteAVSDK_TRTC.TRTCLogLevel, whichModule module: Swift.String?)
}
extension TRTCManager : ImSDK.TIMUserStatusListener {
@objc dynamic public func onForceOffline()
@objc dynamic public func onReConnFailed(_ code: Swift.Int32, err: Swift.String!)
@objc dynamic public func onUserSigExpired()
}
extension String {
public func subFrom(_ index: Swift.Int) -> Swift.String
}
public protocol _UInt8Type {
}
extension UInt8 : hhVDoctorSDK._UInt8Type {
}
extension UInt8 {
public func bits() -> [hhVDoctorSDK.Bit]
public func bits() -> Swift.String
}
public protocol Updatable {
mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8>
mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
}
extension Updatable {
mutating public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
@discardableResult
mutating public func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
@discardableResult
mutating public func finish() throws -> Swift.Array<Swift.UInt8>
mutating public func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
mutating public func finish(output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
}
extension Updatable {
@discardableResult
mutating public func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
mutating public func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
@discardableResult
mutating public func finish(withBytes bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
mutating public func finish(withBytes bytes: Swift.Array<Swift.UInt8>, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
}
public typealias onProgress = ((CoreGraphics.CGFloat, Swift.String) -> Swift.Void)
public typealias onUploadOnce = ((Swift.Bool, hhVDoctorSDK.HHUploadModel) -> Swift.Void)
public typealias onFinished = (() -> Swift.Void)
public class HHUploadConfig {
public var progress: hhVDoctorSDK.onProgress?
public var uploadOnce: hhVDoctorSDK.onUploadOnce?
public var finished: hhVDoctorSDK.onFinished?
public var orderId: Swift.String?
public init()
@objc deinit
}
public class HHUploadModel {
public var clouldKey: Swift.String?
public var filePath: Swift.String? {
get
set
}
public var smallImage: Swift.String
public var state: hhVDoctorSDK.UploadState?
public init()
public init(full: Swift.String?, scale: Swift.String)
public init(clouldKey: Swift.String?, filePath: Swift.String?, uploadTime: Foundation.TimeInterval?, name: Swift.String?, smallImage: Swift.String)
@objc deinit
}
public class UploadState {
public var file: Swift.String?
public var isSelect: Swift.Bool
public var changed: (() -> Swift.Void)?
public var progress: Swift.Float {
get
set
}
public func isSuccess() -> Swift.Bool
public func isFail() -> Swift.Bool
@objc deinit
}
public class WeakArray<T> {
public func add(_ delegate: T)
public func remove(_ delegate: T)
public func excute(_ block: @escaping ((T?) -> Swift.Void))
@objc deinit
}
extension hhVDoctorSDK.AES.Error : Swift.Equatable {}
extension hhVDoctorSDK.AES.Error : Swift.Hashable {}
extension hhVDoctorSDK.AES.Variant : Swift.Equatable {}
extension hhVDoctorSDK.AES.Variant : Swift.Hashable {}
extension hhVDoctorSDK.AES.Variant : Swift.RawRepresentable {}
extension hhVDoctorSDK.Bit : Swift.Equatable {}
extension hhVDoctorSDK.Bit : Swift.Hashable {}
extension hhVDoctorSDK.Bit : Swift.RawRepresentable {}
extension hhVDoctorSDK.BlockMode.Error : Swift.Equatable {}
extension hhVDoctorSDK.BlockMode.Error : Swift.Hashable {}
extension hhVDoctorSDK.Blowfish.Error : Swift.Equatable {}
extension hhVDoctorSDK.Blowfish.Error : Swift.Hashable {}
extension hhVDoctorSDK.ChaCha20.Error : Swift.Equatable {}
extension hhVDoctorSDK.ChaCha20.Error : Swift.Hashable {}
extension hhVDoctorSDK.CipherError : Swift.Equatable {}
extension hhVDoctorSDK.CipherError : Swift.Hashable {}
extension hhVDoctorSDK.CMAC.Error : Swift.Equatable {}
extension hhVDoctorSDK.CMAC.Error : Swift.Hashable {}
extension hhVDoctorSDK.HHMediaType : Swift.Equatable {}
extension hhVDoctorSDK.HHMediaType : Swift.Hashable {}
extension hhVDoctorSDK.HHMediaType : Swift.RawRepresentable {}
extension hhVDoctorSDK.DateFormat : Swift.Equatable {}
extension hhVDoctorSDK.DateFormat : Swift.Hashable {}
extension hhVDoctorSDK.DateFormat : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHFileCacheManager.HHAssetPathType : Swift.Equatable {}
extension hhVDoctorSDK.HHFileCacheManager.HHAssetPathType : Swift.Hashable {}
extension hhVDoctorSDK.HHLogMode : Swift.Equatable {}
extension hhVDoctorSDK.HHLogMode : Swift.Hashable {}
extension hhVDoctorSDK.HHLogMode : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHMLoginCode : Swift.Equatable {}
extension hhVDoctorSDK.HHMLoginCode : Swift.Hashable {}
extension hhVDoctorSDK.HHMLoginCode : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHCallType : Swift.Equatable {}
extension hhVDoctorSDK.HHCallType : Swift.Hashable {}
extension hhVDoctorSDK.HHCallType : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHMCallingState : Swift.Equatable {}
extension hhVDoctorSDK.HHMCallingState : Swift.Hashable {}
extension hhVDoctorSDK.HHMCallingState : Swift.RawRepresentable {}
extension hhVDoctorSDK.HHRequestMethod : Swift.Equatable {}
extension hhVDoctorSDK.HHRequestMethod : Swift.Hashable {}
extension hhVDoctorSDK.HHServerType : Swift.Equatable {}
extension hhVDoctorSDK.HHServerType : Swift.Hashable {}
extension hhVDoctorSDK.HHPagerViewTransformerType : Swift.Equatable {}
extension hhVDoctorSDK.HHPagerViewTransformerType : Swift.Hashable {}
extension hhVDoctorSDK.HHPagerViewTransformerType : Swift.RawRepresentable {}
extension hhVDoctorSDK.HKDF.Error : Swift.Equatable {}
extension hhVDoctorSDK.HKDF.Error : Swift.Hashable {}
extension hhVDoctorSDK.HMAC.Error : Swift.Equatable {}
extension hhVDoctorSDK.HMAC.Error : Swift.Hashable {}
extension hhVDoctorSDK.HMAC.Variant : Swift.Equatable {}
extension hhVDoctorSDK.HMAC.Variant : Swift.Hashable {}
extension hhVDoctorSDK.ItemClass : Swift.Equatable {}
extension hhVDoctorSDK.ItemClass : Swift.Hashable {}
extension hhVDoctorSDK.ProtocolType : Swift.Equatable {}
extension hhVDoctorSDK.ProtocolType : Swift.Hashable {}
extension hhVDoctorSDK.AuthenticationType : Swift.Equatable {}
extension hhVDoctorSDK.AuthenticationType : Swift.Hashable {}
extension hhVDoctorSDK.Accessibility : Swift.Equatable {}
extension hhVDoctorSDK.Accessibility : Swift.Hashable {}
extension hhVDoctorSDK.Status : Swift.Equatable {}
extension hhVDoctorSDK.Status : Swift.Hashable {}
extension hhVDoctorSDK.Padding : Swift.Equatable {}
extension hhVDoctorSDK.Padding : Swift.Hashable {}
extension hhVDoctorSDK.PKCS5.PBKDF1.Error : Swift.Equatable {}
extension hhVDoctorSDK.PKCS5.PBKDF1.Error : Swift.Hashable {}
extension hhVDoctorSDK.PKCS5.PBKDF1.Variant : Swift.Equatable {}
extension hhVDoctorSDK.PKCS5.PBKDF1.Variant : Swift.Hashable {}
extension hhVDoctorSDK.PKCS5.PBKDF2.Error : Swift.Equatable {}
extension hhVDoctorSDK.PKCS5.PBKDF2.Error : Swift.Hashable {}
extension hhVDoctorSDK.PermissionType : Swift.Equatable {}
extension hhVDoctorSDK.PermissionType : Swift.Hashable {}
extension hhVDoctorSDK.PermissionType : Swift.RawRepresentable {}
extension hhVDoctorSDK.Poly1305.Error : Swift.Equatable {}
extension hhVDoctorSDK.Poly1305.Error : Swift.Hashable {}
extension hhVDoctorSDK.Rabbit.Error : Swift.Equatable {}
extension hhVDoctorSDK.Rabbit.Error : Swift.Hashable {}
extension hhVDoctorSDK.Reachability.NetworkStatus : Swift.Hashable {}
extension hhVDoctorSDK.SHA2.Variant : Swift.Equatable {}
extension hhVDoctorSDK.SHA2.Variant : Swift.Hashable {}
extension hhVDoctorSDK.SHA3.Variant : Swift.Equatable {}
extension hhVDoctorSDK.SHA3.Variant : Swift.Hashable {}
extension hhVDoctorSDK.hhToastPosition : Swift.Equatable {}
extension hhVDoctorSDK.hhToastPosition : Swift.Hashable {}