Showing
24 changed files
with
2 additions
and
2886 deletions
Too many changes to show.
To preserve performance only 24 of 24+ files are displayed.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
1 | -#if 0 | ||
2 | -#elif defined(__arm64__) && __arm64__ | ||
3 | // Generated by Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29) | 1 | // Generated by Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29) |
4 | #pragma clang diagnostic push | 2 | #pragma clang diagnostic push |
5 | #pragma clang diagnostic ignored "-Wgcc-compat" | 3 | #pragma clang diagnostic ignored "-Wgcc-compat" |
@@ -677,684 +675,3 @@ SWIFT_CLASS("_TtC12hhVDoctorSDK11TRTCManager") | @@ -677,684 +675,3 @@ SWIFT_CLASS("_TtC12hhVDoctorSDK11TRTCManager") | ||
677 | # pragma clang attribute pop | 675 | # pragma clang attribute pop |
678 | #endif | 676 | #endif |
679 | #pragma clang diagnostic pop | 677 | #pragma clang diagnostic pop |
680 | - | ||
681 | -#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__ | ||
682 | -// Generated by Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29) | ||
683 | -#pragma clang diagnostic push | ||
684 | -#pragma clang diagnostic ignored "-Wgcc-compat" | ||
685 | - | ||
686 | -#if !defined(__has_include) | ||
687 | -# define __has_include(x) 0 | ||
688 | -#endif | ||
689 | -#if !defined(__has_attribute) | ||
690 | -# define __has_attribute(x) 0 | ||
691 | -#endif | ||
692 | -#if !defined(__has_feature) | ||
693 | -# define __has_feature(x) 0 | ||
694 | -#endif | ||
695 | -#if !defined(__has_warning) | ||
696 | -# define __has_warning(x) 0 | ||
697 | -#endif | ||
698 | - | ||
699 | -#if __has_include(<swift/objc-prologue.h>) | ||
700 | -# include <swift/objc-prologue.h> | ||
701 | -#endif | ||
702 | - | ||
703 | -#pragma clang diagnostic ignored "-Wauto-import" | ||
704 | -#include <Foundation/Foundation.h> | ||
705 | -#include <stdint.h> | ||
706 | -#include <stddef.h> | ||
707 | -#include <stdbool.h> | ||
708 | - | ||
709 | -#if !defined(SWIFT_TYPEDEFS) | ||
710 | -# define SWIFT_TYPEDEFS 1 | ||
711 | -# if __has_include(<uchar.h>) | ||
712 | -# include <uchar.h> | ||
713 | -# elif !defined(__cplusplus) | ||
714 | -typedef uint_least16_t char16_t; | ||
715 | -typedef uint_least32_t char32_t; | ||
716 | -# endif | ||
717 | -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); | ||
718 | -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); | ||
719 | -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); | ||
720 | -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); | ||
721 | -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); | ||
722 | -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); | ||
723 | -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); | ||
724 | -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); | ||
725 | -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); | ||
726 | -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); | ||
727 | -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); | ||
728 | -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); | ||
729 | -#endif | ||
730 | - | ||
731 | -#if !defined(SWIFT_PASTE) | ||
732 | -# define SWIFT_PASTE_HELPER(x, y) x##y | ||
733 | -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) | ||
734 | -#endif | ||
735 | -#if !defined(SWIFT_METATYPE) | ||
736 | -# define SWIFT_METATYPE(X) Class | ||
737 | -#endif | ||
738 | -#if !defined(SWIFT_CLASS_PROPERTY) | ||
739 | -# if __has_feature(objc_class_property) | ||
740 | -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ | ||
741 | -# else | ||
742 | -# define SWIFT_CLASS_PROPERTY(...) | ||
743 | -# endif | ||
744 | -#endif | ||
745 | - | ||
746 | -#if __has_attribute(objc_runtime_name) | ||
747 | -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) | ||
748 | -#else | ||
749 | -# define SWIFT_RUNTIME_NAME(X) | ||
750 | -#endif | ||
751 | -#if __has_attribute(swift_name) | ||
752 | -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) | ||
753 | -#else | ||
754 | -# define SWIFT_COMPILE_NAME(X) | ||
755 | -#endif | ||
756 | -#if __has_attribute(objc_method_family) | ||
757 | -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) | ||
758 | -#else | ||
759 | -# define SWIFT_METHOD_FAMILY(X) | ||
760 | -#endif | ||
761 | -#if __has_attribute(noescape) | ||
762 | -# define SWIFT_NOESCAPE __attribute__((noescape)) | ||
763 | -#else | ||
764 | -# define SWIFT_NOESCAPE | ||
765 | -#endif | ||
766 | -#if __has_attribute(ns_consumed) | ||
767 | -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) | ||
768 | -#else | ||
769 | -# define SWIFT_RELEASES_ARGUMENT | ||
770 | -#endif | ||
771 | -#if __has_attribute(warn_unused_result) | ||
772 | -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) | ||
773 | -#else | ||
774 | -# define SWIFT_WARN_UNUSED_RESULT | ||
775 | -#endif | ||
776 | -#if __has_attribute(noreturn) | ||
777 | -# define SWIFT_NORETURN __attribute__((noreturn)) | ||
778 | -#else | ||
779 | -# define SWIFT_NORETURN | ||
780 | -#endif | ||
781 | -#if !defined(SWIFT_CLASS_EXTRA) | ||
782 | -# define SWIFT_CLASS_EXTRA | ||
783 | -#endif | ||
784 | -#if !defined(SWIFT_PROTOCOL_EXTRA) | ||
785 | -# define SWIFT_PROTOCOL_EXTRA | ||
786 | -#endif | ||
787 | -#if !defined(SWIFT_ENUM_EXTRA) | ||
788 | -# define SWIFT_ENUM_EXTRA | ||
789 | -#endif | ||
790 | -#if !defined(SWIFT_CLASS) | ||
791 | -# if __has_attribute(objc_subclassing_restricted) | ||
792 | -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA | ||
793 | -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
794 | -# else | ||
795 | -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
796 | -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA | ||
797 | -# endif | ||
798 | -#endif | ||
799 | -#if !defined(SWIFT_RESILIENT_CLASS) | ||
800 | -# if __has_attribute(objc_class_stub) | ||
801 | -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) | ||
802 | -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) | ||
803 | -# else | ||
804 | -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) | ||
805 | -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) | ||
806 | -# endif | ||
807 | -#endif | ||
808 | - | ||
809 | -#if !defined(SWIFT_PROTOCOL) | ||
810 | -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA | ||
811 | -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA | ||
812 | -#endif | ||
813 | - | ||
814 | -#if !defined(SWIFT_EXTENSION) | ||
815 | -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) | ||
816 | -#endif | ||
817 | - | ||
818 | -#if !defined(OBJC_DESIGNATED_INITIALIZER) | ||
819 | -# if __has_attribute(objc_designated_initializer) | ||
820 | -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) | ||
821 | -# else | ||
822 | -# define OBJC_DESIGNATED_INITIALIZER | ||
823 | -# endif | ||
824 | -#endif | ||
825 | -#if !defined(SWIFT_ENUM_ATTR) | ||
826 | -# if defined(__has_attribute) && __has_attribute(enum_extensibility) | ||
827 | -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) | ||
828 | -# else | ||
829 | -# define SWIFT_ENUM_ATTR(_extensibility) | ||
830 | -# endif | ||
831 | -#endif | ||
832 | -#if !defined(SWIFT_ENUM) | ||
833 | -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type | ||
834 | -# if __has_feature(generalized_swift_name) | ||
835 | -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type | ||
836 | -# else | ||
837 | -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) | ||
838 | -# endif | ||
839 | -#endif | ||
840 | -#if !defined(SWIFT_UNAVAILABLE) | ||
841 | -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) | ||
842 | -#endif | ||
843 | -#if !defined(SWIFT_UNAVAILABLE_MSG) | ||
844 | -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) | ||
845 | -#endif | ||
846 | -#if !defined(SWIFT_AVAILABILITY) | ||
847 | -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) | ||
848 | -#endif | ||
849 | -#if !defined(SWIFT_WEAK_IMPORT) | ||
850 | -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) | ||
851 | -#endif | ||
852 | -#if !defined(SWIFT_DEPRECATED) | ||
853 | -# define SWIFT_DEPRECATED __attribute__((deprecated)) | ||
854 | -#endif | ||
855 | -#if !defined(SWIFT_DEPRECATED_MSG) | ||
856 | -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) | ||
857 | -#endif | ||
858 | -#if __has_feature(attribute_diagnose_if_objc) | ||
859 | -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) | ||
860 | -#else | ||
861 | -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) | ||
862 | -#endif | ||
863 | -#if !defined(IBSegueAction) | ||
864 | -# define IBSegueAction | ||
865 | -#endif | ||
866 | -#if __has_feature(modules) | ||
867 | -#if __has_warning("-Watimport-in-framework-header") | ||
868 | -#pragma clang diagnostic ignored "-Watimport-in-framework-header" | ||
869 | -#endif | ||
870 | -@import CoreGraphics; | ||
871 | -@import CoreLocation; | ||
872 | -@import Foundation; | ||
873 | -@import ImSDK; | ||
874 | -@import ObjectiveC; | ||
875 | -@import Photos; | ||
876 | -@import TXLiteAVSDK_TRTC; | ||
877 | -@import UIKit; | ||
878 | -#endif | ||
879 | - | ||
880 | -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" | ||
881 | -#pragma clang diagnostic ignored "-Wduplicate-method-arg" | ||
882 | -#if __has_warning("-Wpragma-clang-attribute") | ||
883 | -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" | ||
884 | -#endif | ||
885 | -#pragma clang diagnostic ignored "-Wunknown-pragmas" | ||
886 | -#pragma clang diagnostic ignored "-Wnullability" | ||
887 | - | ||
888 | -#if __has_attribute(external_source_symbol) | ||
889 | -# pragma push_macro("any") | ||
890 | -# undef any | ||
891 | -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="hhVDoctorSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) | ||
892 | -# pragma pop_macro("any") | ||
893 | -#endif | ||
894 | - | ||
895 | - | ||
896 | - | ||
897 | - | ||
898 | - | ||
899 | - | ||
900 | - | ||
901 | - | ||
902 | - | ||
903 | -@class UIImage; | ||
904 | -@class NSCoder; | ||
905 | -@class UITouch; | ||
906 | -@class UIEvent; | ||
907 | - | ||
908 | -/// A simple rating view that can set whole, half or floating point ratings. | ||
909 | -IB_DESIGNABLE | ||
910 | -SWIFT_CLASS("_TtC12hhVDoctorSDK15FloatRatingView") | ||
911 | -@interface FloatRatingView : UIView | ||
912 | -/// Sets the empty image (e.g. a star outline) | ||
913 | -@property (nonatomic, strong) IBInspectable UIImage * _Nullable emptyImage; | ||
914 | -/// Sets the full image that is overlayed on top of the empty image. | ||
915 | -/// Should be same size and shape as the empty image. | ||
916 | -@property (nonatomic, strong) IBInspectable UIImage * _Nullable fullImage; | ||
917 | -/// Minimum rating. | ||
918 | -@property (nonatomic) IBInspectable NSInteger minRating; | ||
919 | -/// Max rating value. | ||
920 | -@property (nonatomic) IBInspectable NSInteger maxRating; | ||
921 | -/// Minimum image size. | ||
922 | -@property (nonatomic) IBInspectable CGSize minImageSize; | ||
923 | -/// Set the current rating. | ||
924 | -@property (nonatomic) IBInspectable float rating; | ||
925 | -/// Sets whether or not the rating view can be changed by panning. | ||
926 | -@property (nonatomic) IBInspectable BOOL editable; | ||
927 | -/// Ratings change by 0.5. Takes priority over floatRatings property. | ||
928 | -@property (nonatomic) IBInspectable BOOL halfRatings; | ||
929 | -/// Ratings change by floating point values. | ||
930 | -@property (nonatomic) IBInspectable BOOL floatRatings; | ||
931 | -- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; | ||
932 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; | ||
933 | -- (void)layoutSubviews; | ||
934 | -- (void)touchesBegan:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event; | ||
935 | -- (void)touchesMoved:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event; | ||
936 | -- (void)touchesEnded:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event; | ||
937 | -@end | ||
938 | - | ||
939 | - | ||
940 | -SWIFT_PROTOCOL("_TtP12hhVDoctorSDK23FloatRatingViewDelegate_") | ||
941 | -@protocol FloatRatingViewDelegate | ||
942 | -/// Returns the rating value when touch events end | ||
943 | -- (void)floatRatingView:(FloatRatingView * _Nonnull)ratingView didUpdate:(float)rating; | ||
944 | -@optional | ||
945 | -/// Returns the rating value as the user pans | ||
946 | -- (void)floatRatingView:(FloatRatingView * _Nonnull)ratingView isUpdating:(float)rating; | ||
947 | -@end | ||
948 | - | ||
949 | - | ||
950 | -SWIFT_CLASS("_TtC12hhVDoctorSDK16HHAccountManager") | ||
951 | -@interface HHAccountManager : NSObject | ||
952 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
953 | -@end | ||
954 | - | ||
955 | - | ||
956 | - | ||
957 | - | ||
958 | - | ||
959 | -/// 呼叫类型 | ||
960 | -/// <ul> | ||
961 | -/// <li> | ||
962 | -/// child: 儿童 | ||
963 | -/// </li> | ||
964 | -/// <li> | ||
965 | -/// adult: 成人 | ||
966 | -/// </li> | ||
967 | -/// </ul> | ||
968 | -typedef SWIFT_ENUM(NSInteger, HHCallType, open) { | ||
969 | - HHCallTypeChild = 600000, | ||
970 | - HHCallTypeAdult = 600002, | ||
971 | -}; | ||
972 | - | ||
973 | - | ||
974 | -SWIFT_CLASS("_TtC12hhVDoctorSDK11HHDateUtils") | ||
975 | -@interface HHDateUtils : NSObject | ||
976 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
977 | -@end | ||
978 | - | ||
979 | - | ||
980 | - | ||
981 | - | ||
982 | - | ||
983 | - | ||
984 | - | ||
985 | - | ||
986 | -SWIFT_CLASS("_TtC12hhVDoctorSDK15HHDeviceManager") | ||
987 | -@interface HHDeviceManager : NSObject | ||
988 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
989 | -@end | ||
990 | - | ||
991 | - | ||
992 | -SWIFT_CLASS("_TtC12hhVDoctorSDK18HHFileCacheManager") | ||
993 | -@interface HHFileCacheManager : NSObject | ||
994 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
995 | -@end | ||
996 | - | ||
997 | - | ||
998 | - | ||
999 | - | ||
1000 | - | ||
1001 | -/// 接通前的呼叫状态 | ||
1002 | -/// <ul> | ||
1003 | -/// <li> | ||
1004 | -/// onStart: 呼叫开始 | ||
1005 | -/// </li> | ||
1006 | -/// <li> | ||
1007 | -/// waitingDoctor: 等待空闲的医生 | ||
1008 | -/// </li> | ||
1009 | -/// <li> | ||
1010 | -/// callFreeDoctor: 有医生空闲,开始呼叫 | ||
1011 | -/// </li> | ||
1012 | -/// <li> | ||
1013 | -/// callConnect: 建立呼叫 | ||
1014 | -/// </li> | ||
1015 | -/// <li> | ||
1016 | -/// didRing: 医生响铃,等待接受 | ||
1017 | -/// </li> | ||
1018 | -/// </ul> | ||
1019 | -typedef SWIFT_ENUM(NSInteger, HHMCallingState, open) { | ||
1020 | - HHMCallingStateOnStart = 0, | ||
1021 | - HHMCallingStateWaitingDoctor = 1, | ||
1022 | - HHMCallingStateCallFreeDoctor = 2, | ||
1023 | - HHMCallingStateCallConnect = 3, | ||
1024 | - HHMCallingStateDidRing = 4, | ||
1025 | -}; | ||
1026 | - | ||
1027 | -typedef SWIFT_ENUM(NSInteger, HHMLoginCode, open) { | ||
1028 | - HHMLoginCodeOK = 0, | ||
1029 | - HHMLoginCodeNetError = -1, | ||
1030 | -}; | ||
1031 | - | ||
1032 | -@class HHSDKOptions; | ||
1033 | -@protocol HHMVideoDelegate; | ||
1034 | - | ||
1035 | -SWIFT_CLASS("_TtC12hhVDoctorSDK6HHMSDK") | ||
1036 | -@interface HHMSDK : NSObject | ||
1037 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=default) HHMSDK * _Nonnull default_;) | ||
1038 | -+ (HHMSDK * _Nonnull)default SWIFT_WARN_UNUSED_RESULT; | ||
1039 | -/// 初始化 SDK | ||
1040 | -/// \param option 可选的 SDK 配置 | ||
1041 | -/// | ||
1042 | -- (void)startWithOption:(HHSDKOptions * _Nonnull)option; | ||
1043 | -/// 登录账户 | ||
1044 | -/// \param userToken 用户的唯一标志 | ||
1045 | -/// | ||
1046 | -/// \param completion 完成的回调 | ||
1047 | -/// | ||
1048 | -- (void)loginWithUserToken:(NSString * _Nonnull)userToken completion:(void (^ _Nonnull)(NSString * _Nullable))completion; | ||
1049 | -/// 登录账号 | ||
1050 | -/// \param uuid 用户的 唯一标志符 | ||
1051 | -/// | ||
1052 | -/// \param completion 完成回调 | ||
1053 | -/// | ||
1054 | -- (void)loginWithUuid:(NSInteger)uuid completion:(void (^ _Nonnull)(NSString * _Nullable))completion SWIFT_DEPRECATED_MSG("Use login(userToken: String, completion: @escaping HHLoginHandler) instead."); | ||
1055 | -/// 退出登录 | ||
1056 | -/// \param complet 登录状态回调, 如果为nil表示退出d成功 | ||
1057 | -/// | ||
1058 | -- (void)logoutWithComplete:(void (^ _Nullable)(NSString * _Nullable))complete; | ||
1059 | -/// 切换正式/测试环境,请勿调用 | ||
1060 | -- (void)switchEnv:(BOOL)development; | ||
1061 | -/// 主叫发起通话 | ||
1062 | -/// \param type 呼叫类型 | ||
1063 | -/// | ||
1064 | -- (void)startCall:(enum HHCallType)type; | ||
1065 | -/// 更新APNS Token | ||
1066 | -/// \param token APNS Token | ||
1067 | -/// | ||
1068 | -- (void)updateAPNSWithToken:(NSData * _Nonnull)token; | ||
1069 | -/// 获取当前 SDK 版本号 | ||
1070 | -@property (nonatomic, readonly, copy) NSString * _Nonnull SDKVersion; | ||
1071 | -/// 是否登录成功 | ||
1072 | -@property (nonatomic, readonly) BOOL isLogined; | ||
1073 | -/// 获取当前 token,未登录时为 nil | ||
1074 | -@property (nonatomic, readonly, copy) NSString * _Nullable userToken; | ||
1075 | -/// 添加视频监听 | ||
1076 | -/// \param delegate 代理 | ||
1077 | -/// | ||
1078 | -- (void)addWithDelegate:(id <HHMVideoDelegate> _Nonnull)delegate; | ||
1079 | -- (void)removeWithDelegate:(id <HHMVideoDelegate> _Nonnull)delegate; | ||
1080 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
1081 | -@end | ||
1082 | - | ||
1083 | - | ||
1084 | -@interface HHMSDK (SWIFT_EXTENSION(hhVDoctorSDK)) | ||
1085 | -/// 指定人发起呼叫(带 UI) | ||
1086 | -/// <ul> | ||
1087 | -/// <li> | ||
1088 | -/// Parameters: | ||
1089 | -/// </li> | ||
1090 | -/// </ul> | ||
1091 | -- (void)startMemberCall; | ||
1092 | -@end | ||
1093 | - | ||
1094 | - | ||
1095 | -@interface HHMSDK (SWIFT_EXTENSION(hhVDoctorSDK)) | ||
1096 | -/// 获取病历详情 | ||
1097 | -/// \param userToken 当前人的唯一标志 | ||
1098 | -/// | ||
1099 | -/// \param medicId 病历id | ||
1100 | -/// | ||
1101 | -/// | ||
1102 | -/// returns: | ||
1103 | -/// url | ||
1104 | -- (NSString * _Nonnull)getMedicDetailWithUserToken:(NSString * _Nonnull)userToken medicId:(NSString * _Nonnull)medicId SWIFT_WARN_UNUSED_RESULT; | ||
1105 | -/// 获取病历列表 | ||
1106 | -/// \param userToken 当前人的唯一标志 | ||
1107 | -/// | ||
1108 | -/// | ||
1109 | -/// returns: | ||
1110 | -/// url | ||
1111 | -- (NSString * _Nonnull)getMedicListWithUserToken:(NSString * _Nonnull)userToken SWIFT_WARN_UNUSED_RESULT; | ||
1112 | -/// 获取所有病历列表 | ||
1113 | -/// \param userToken 主账户的唯一标志 | ||
1114 | -/// | ||
1115 | -/// | ||
1116 | -/// returns: | ||
1117 | -/// url | ||
1118 | -- (NSString * _Nonnull)getAllMedicsWithUserToken:(NSString * _Nonnull)userToken SWIFT_WARN_UNUSED_RESULT; | ||
1119 | -@end | ||
1120 | - | ||
1121 | - | ||
1122 | - | ||
1123 | - | ||
1124 | -@interface HHMSDK (SWIFT_EXTENSION(hhVDoctorSDK)) | ||
1125 | -- (void)startNewCall:(NSInteger)uuid; | ||
1126 | -@end | ||
1127 | - | ||
1128 | - | ||
1129 | -/// 视频管理器代理 | ||
1130 | -SWIFT_PROTOCOL("_TtP12hhVDoctorSDK16HHMVideoDelegate_") | ||
1131 | -@protocol HHMVideoDelegate <NSObject> | ||
1132 | -@optional | ||
1133 | -/// 主动视频时的呼叫状态变化 | ||
1134 | -/// \param state 当前呼叫状态 | ||
1135 | -/// | ||
1136 | -- (void)callStateChange:(enum HHMCallingState)state; | ||
1137 | -/// 通话已接通 | ||
1138 | -- (void)callDidEstablish; | ||
1139 | -/// 呼叫失败(主叫) | ||
1140 | -/// \param error 错误信息 | ||
1141 | -/// | ||
1142 | -- (void)onFail:(NSInteger)errorCode errrorStr:(NSString * _Nullable)errrorStr; | ||
1143 | -- (void)onCancel; | ||
1144 | -/// 通话已结束 (接通之后才有结束) | ||
1145 | -- (void)callDidFinish; | ||
1146 | -/// 转呼医生 | ||
1147 | -- (void)onExtensionDoctor; | ||
1148 | -/// 接收到呼叫(被呼叫方) | ||
1149 | -/// \param callID 呼叫的 id | ||
1150 | -/// | ||
1151 | -- (void)onReceive:(NSString * _Nonnull)callID; | ||
1152 | -/// 收到视频呼入时的操作(被呼叫方) | ||
1153 | -/// \param accept 接受或者拒接 | ||
1154 | -/// | ||
1155 | -- (void)onResponse:(BOOL)accept; | ||
1156 | -/// 强制下线 | ||
1157 | -- (void)onForceOffline; | ||
1158 | -@end | ||
1159 | - | ||
1160 | - | ||
1161 | -SWIFT_CLASS("_TtC12hhVDoctorSDK23HHMediaStatusCheckUtils") | ||
1162 | -@interface HHMediaStatusCheckUtils : NSObject | ||
1163 | -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; | ||
1164 | -@end | ||
1165 | - | ||
1166 | -@class UIWindow; | ||
1167 | -@class UICollectionView; | ||
1168 | -@class UICollectionViewCell; | ||
1169 | -@class UIScrollView; | ||
1170 | - | ||
1171 | -IB_DESIGNABLE | ||
1172 | -SWIFT_CLASS("_TtC12hhVDoctorSDK11HHPagerView") | ||
1173 | -@interface HHPagerView : UIView <UICollectionViewDataSource, UICollectionViewDelegate> | ||
1174 | -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; | ||
1175 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; | ||
1176 | -- (void)layoutSubviews; | ||
1177 | -- (void)willMoveToWindow:(UIWindow * _Nullable)newWindow; | ||
1178 | -- (void)prepareForInterfaceBuilder; | ||
1179 | -- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView * _Nonnull)collectionView SWIFT_WARN_UNUSED_RESULT; | ||
1180 | -- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; | ||
1181 | -- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; | ||
1182 | -- (BOOL)collectionView:(UICollectionView * _Nonnull)collectionView shouldHighlightItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; | ||
1183 | -- (void)collectionView:(UICollectionView * _Nonnull)collectionView didHighlightItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; | ||
1184 | -- (BOOL)collectionView:(UICollectionView * _Nonnull)collectionView shouldSelectItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; | ||
1185 | -- (void)collectionView:(UICollectionView * _Nonnull)collectionView didSelectItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; | ||
1186 | -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; | ||
1187 | -- (void)collectionView:(UICollectionView * _Nonnull)collectionView didEndDisplayingCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; | ||
1188 | -- (void)scrollViewDidScroll:(UIScrollView * _Nonnull)scrollView; | ||
1189 | -- (void)scrollViewWillBeginDragging:(UIScrollView * _Nonnull)scrollView; | ||
1190 | -- (void)scrollViewWillEndDragging:(UIScrollView * _Nonnull)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(CGPoint * _Nonnull)targetContentOffset; | ||
1191 | -- (void)scrollViewDidEndDecelerating:(UIScrollView * _Nonnull)scrollView; | ||
1192 | -- (void)scrollViewDidEndScrollingAnimation:(UIScrollView * _Nonnull)scrollView; | ||
1193 | -@end | ||
1194 | - | ||
1195 | -typedef SWIFT_ENUM(NSInteger, HHPagerViewTransformerType, open) { | ||
1196 | - HHPagerViewTransformerTypeCrossFading = 0, | ||
1197 | - HHPagerViewTransformerTypeZoomOut = 1, | ||
1198 | - HHPagerViewTransformerTypeDepth = 2, | ||
1199 | - HHPagerViewTransformerTypeOverlap = 3, | ||
1200 | - HHPagerViewTransformerTypeLinear = 4, | ||
1201 | - HHPagerViewTransformerTypeCoverFlow = 5, | ||
1202 | - HHPagerViewTransformerTypeFerrisWheel = 6, | ||
1203 | - HHPagerViewTransformerTypeInvertedFerrisWheel = 7, | ||
1204 | - HHPagerViewTransformerTypeCubic = 8, | ||
1205 | -}; | ||
1206 | - | ||
1207 | -@class UIViewController; | ||
1208 | - | ||
1209 | -SWIFT_CLASS("_TtC12hhVDoctorSDK23HHPhotoPickerController") | ||
1210 | -@interface HHPhotoPickerController : UINavigationController | ||
1211 | -- (void)viewDidLoad; | ||
1212 | -- (nonnull instancetype)initWithNavigationBarClass:(Class _Nullable)navigationBarClass toolbarClass:(Class _Nullable)toolbarClass OBJC_DESIGNATED_INITIALIZER SWIFT_AVAILABILITY(ios,introduced=5.0); | ||
1213 | -- (nonnull instancetype)initWithRootViewController:(UIViewController * _Nonnull)rootViewController OBJC_DESIGNATED_INITIALIZER; | ||
1214 | -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; | ||
1215 | -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; | ||
1216 | -@end | ||
1217 | - | ||
1218 | - | ||
1219 | -/// 全局配置 | ||
1220 | -SWIFT_CLASS("_TtC12hhVDoctorSDK12HHSDKOptions") | ||
1221 | -@interface HHSDKOptions : NSObject | ||
1222 | -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=default) HHSDKOptions * _Nonnull default_;) | ||
1223 | -+ (HHSDKOptions * _Nonnull)default SWIFT_WARN_UNUSED_RESULT; | ||
1224 | -/// hud 自动显示的时间 | ||
1225 | -@property (nonatomic) NSTimeInterval hudDisTime; | ||
1226 | -/// 调试模式(打印日志) | ||
1227 | -@property (nonatomic) BOOL isDebug; | ||
1228 | -/// 是否开启测试服 | ||
1229 | -@property (nonatomic) BOOL isDevelopment; | ||
1230 | -/// 产品 id | ||
1231 | -@property (nonatomic, copy) NSString * _Nonnull productId; | ||
1232 | -/// 推送证书名 | ||
1233 | -@property (nonatomic, copy) NSString * _Nullable cerName; | ||
1234 | -/// 是否开启美颜 | ||
1235 | -@property (nonatomic) BOOL allowBeauty; | ||
1236 | -/// 允许视频完成后评价 | ||
1237 | -@property (nonatomic) BOOL allowEvaluate; | ||
1238 | -- (nonnull instancetype)initWithProductId:(NSString * _Nonnull)productId isDebug:(BOOL)isDebug isDevelop:(BOOL)isDevelop OBJC_DESIGNATED_INITIALIZER; | ||
1239 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
1240 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
1241 | -@end | ||
1242 | - | ||
1243 | - | ||
1244 | - | ||
1245 | - | ||
1246 | - | ||
1247 | - | ||
1248 | - | ||
1249 | - | ||
1250 | - | ||
1251 | - | ||
1252 | - | ||
1253 | - | ||
1254 | - | ||
1255 | -typedef SWIFT_ENUM(NSInteger, PermissionType, open) { | ||
1256 | - PermissionTypeLocationAlways = 0, | ||
1257 | - PermissionTypeLocationWhenInUse = 1, | ||
1258 | - PermissionTypeMicrophone = 2, | ||
1259 | - PermissionTypeCamera = 3, | ||
1260 | - PermissionTypePhotos = 4, | ||
1261 | -}; | ||
1262 | - | ||
1263 | - | ||
1264 | -SWIFT_CLASS("_TtC12hhVDoctorSDK11TRTCManager") | ||
1265 | -@interface TRTCManager : NSObject | ||
1266 | -- (nonnull instancetype)init SWIFT_UNAVAILABLE; | ||
1267 | -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); | ||
1268 | -@end | ||
1269 | - | ||
1270 | - | ||
1271 | -@interface TRTCManager (SWIFT_EXTENSION(hhVDoctorSDK)) <TRTCLogDelegate> | ||
1272 | -- (void)onLog:(NSString * _Nullable)log LogLevel:(TRTCLogLevel)level WhichModule:(NSString * _Nullable)module_; | ||
1273 | -@end | ||
1274 | - | ||
1275 | - | ||
1276 | - | ||
1277 | - | ||
1278 | -@interface TRTCManager (SWIFT_EXTENSION(hhVDoctorSDK)) <TIMConnListener> | ||
1279 | -- (void)onConnSucc; | ||
1280 | -- (void)onConnFailed:(int32_t)code err:(NSString * _Null_unspecified)err; | ||
1281 | -- (void)onDisconnect:(int32_t)code err:(NSString * _Null_unspecified)err; | ||
1282 | -@end | ||
1283 | - | ||
1284 | - | ||
1285 | -@interface TRTCManager (SWIFT_EXTENSION(hhVDoctorSDK)) <TIMUserStatusListener> | ||
1286 | -- (void)onForceOffline; | ||
1287 | -- (void)onReConnFailed:(int32_t)code err:(NSString * _Null_unspecified)err; | ||
1288 | -- (void)onUserSigExpired; | ||
1289 | -@end | ||
1290 | - | ||
1291 | - | ||
1292 | -@interface TRTCManager (SWIFT_EXTENSION(hhVDoctorSDK)) <TRTCCloudDelegate> | ||
1293 | -- (void)onEnterRoom:(NSInteger)result; | ||
1294 | -@end | ||
1295 | - | ||
1296 | - | ||
1297 | -@interface TRTCManager (SWIFT_EXTENSION(hhVDoctorSDK)) <TIMMessageListener> | ||
1298 | -- (void)onNewMessage:(NSArray * _Null_unspecified)msgs; | ||
1299 | -@end | ||
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 | -@class UITapGestureRecognizer; | ||
1342 | -@class NSTimer; | ||
1343 | - | ||
1344 | -@interface UIView (SWIFT_EXTENSION(hhVDoctorSDK)) | ||
1345 | -- (void)hhhandleToastTapped:(UITapGestureRecognizer * _Nonnull)recognizer; | ||
1346 | -- (void)hhtoastTimerDidFinish:(NSTimer * _Nonnull)timer; | ||
1347 | -@end | ||
1348 | - | ||
1349 | - | ||
1350 | - | ||
1351 | - | ||
1352 | - | ||
1353 | - | ||
1354 | - | ||
1355 | -#if __has_attribute(external_source_symbol) | ||
1356 | -# pragma clang attribute pop | ||
1357 | -#endif | ||
1358 | -#pragma clang diagnostic pop | ||
1359 | - | ||
1360 | -#endif |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
HHVDoctorSDK/hhVDoctorSDK.framework/Modules/hhVDoctorSDK.swiftmodule/arm.swiftdoc
deleted
100644 → 0
No preview for this file type
HHVDoctorSDK/hhVDoctorSDK.framework/Modules/hhVDoctorSDK.swiftmodule/arm.swiftinterface
deleted
100644 → 0
1 | -// swift-interface-format-version: 1.0 | ||
2 | -// swift-compiler-version: Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29) | ||
3 | -// swift-module-flags: -target armv7-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name hhVDoctorSDK | ||
4 | -import AVFoundation | ||
5 | -import AdSupport | ||
6 | -import CoreLocation | ||
7 | -import CoreTelephony | ||
8 | -import Darwin | ||
9 | -import Dispatch | ||
10 | -import Foundation | ||
11 | -import ImSDK | ||
12 | -import LocalAuthentication | ||
13 | -import MobileCoreServices | ||
14 | -import ObjectiveC | ||
15 | -import Photos | ||
16 | -import Security | ||
17 | -import SecurityKit | ||
18 | -import Swift | ||
19 | -import SystemConfiguration | ||
20 | -import TXLiteAVSDK_TRTC | ||
21 | -import UIKit | ||
22 | -import WebKit | ||
23 | -@_exported import hhVDoctorSDK | ||
24 | -public protocol AEAD { | ||
25 | - static var kLen: Swift.Int { get } | ||
26 | - static var ivRange: Swift.Range<Swift.Int> { get } | ||
27 | -} | ||
28 | -@_hasMissingDesignatedInitializers final public class AEADChaCha20Poly1305 : hhVDoctorSDK.AEAD { | ||
29 | - public static let kLen: Swift.Int | ||
30 | - public static var ivRange: Swift.Range<Swift.Int> | ||
31 | - 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>) | ||
32 | - 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) | ||
33 | - @objc deinit | ||
34 | -} | ||
35 | -extension AES { | ||
36 | - convenience public init(key: Swift.String, iv: Swift.String, padding: hhVDoctorSDK.Padding = .pkcs7) throws | ||
37 | -} | ||
38 | -extension AES : hhVDoctorSDK.Cryptors { | ||
39 | - final public func makeEncryptor() throws -> hhVDoctorSDK.AES.Encryptor | ||
40 | - final public func makeDecryptor() throws -> hhVDoctorSDK.AES.Decryptor | ||
41 | - public typealias EncryptorType = hhVDoctorSDK.AES.Encryptor | ||
42 | - public typealias DecryptorType = hhVDoctorSDK.AES.Decryptor | ||
43 | -} | ||
44 | -extension AES { | ||
45 | - public struct Encryptor : hhVDoctorSDK.Updatable { | ||
46 | - public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> | ||
47 | - } | ||
48 | -} | ||
49 | -extension AES { | ||
50 | - public struct Decryptor : hhVDoctorSDK.RandomAccessCryptor { | ||
51 | - public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> | ||
52 | - @discardableResult | ||
53 | - public mutating func seek(to position: Swift.Int) -> Swift.Bool | ||
54 | - } | ||
55 | -} | ||
56 | -final public class AES { | ||
57 | - public enum Error : Swift.Error { | ||
58 | - case dataPaddingRequired | ||
59 | - case invalidData | ||
60 | - public static func == (a: hhVDoctorSDK.AES.Error, b: hhVDoctorSDK.AES.Error) -> Swift.Bool | ||
61 | - public var hashValue: Swift.Int { | ||
62 | - get | ||
63 | - } | ||
64 | - public func hash(into hasher: inout Swift.Hasher) | ||
65 | - } | ||
66 | - public enum Variant : Swift.Int { | ||
67 | - case aes128, aes192, aes256 | ||
68 | - public typealias RawValue = Swift.Int | ||
69 | - public init?(rawValue: Swift.Int) | ||
70 | - public var rawValue: Swift.Int { | ||
71 | - get | ||
72 | - } | ||
73 | - } | ||
74 | - public static let blockSize: Swift.Int | ||
75 | - final public let keySize: Swift.Int | ||
76 | - final public var variant: hhVDoctorSDK.AES.Variant { | ||
77 | - get | ||
78 | - } | ||
79 | - public init(key: Swift.Array<Swift.UInt8>, blockMode: hhVDoctorSDK.BlockMode, padding: hhVDoctorSDK.Padding = .pkcs7) throws | ||
80 | - @objc deinit | ||
81 | -} | ||
82 | -extension AES : hhVDoctorSDK.Cipher { | ||
83 | - final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
84 | - final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
85 | -} | ||
86 | -extension Array { | ||
87 | - public init(reserveCapacity: Swift.Int) | ||
88 | -} | ||
89 | -extension Array where Element == Swift.UInt8 { | ||
90 | - public init(hex: Swift.String) | ||
91 | - public func toHexString() -> Swift.String | ||
92 | -} | ||
93 | -extension Array where Element == Swift.UInt8 { | ||
94 | - @available(*, deprecated) | ||
95 | - public func chunks(size chunksize: Swift.Int) -> Swift.Array<Swift.Array<Element>> | ||
96 | - public func md5() -> [Element] | ||
97 | - public func sha1() -> [Element] | ||
98 | - public func sha224() -> [Element] | ||
99 | - public func sha256() -> [Element] | ||
100 | - public func sha384() -> [Element] | ||
101 | - public func sha512() -> [Element] | ||
102 | - public func sha2(_ variant: hhVDoctorSDK.SHA2.Variant) -> [Element] | ||
103 | - public func sha3(_ variant: hhVDoctorSDK.SHA3.Variant) -> [Element] | ||
104 | - public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 | ||
105 | - public func crc16(seed: Swift.UInt16? = nil) -> Swift.UInt16 | ||
106 | - public func encrypt(cipher: hhVDoctorSDK.Cipher) throws -> [Element] | ||
107 | - public func decrypt(cipher: hhVDoctorSDK.Cipher) throws -> [Element] | ||
108 | - public func authenticate<A>(with authenticator: A) throws -> [Element] where A : hhVDoctorSDK.Authenticator | ||
109 | -} | ||
110 | -extension Array where Element == Swift.UInt8 { | ||
111 | - public func toBase64() -> Swift.String? | ||
112 | - public init(base64: Swift.String) | ||
113 | -} | ||
114 | -public protocol Authenticator { | ||
115 | - func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
116 | -} | ||
117 | -public enum Bit : Swift.Int { | ||
118 | - case zero | ||
119 | - case one | ||
120 | - public typealias RawValue = Swift.Int | ||
121 | - public init?(rawValue: Swift.Int) | ||
122 | - public var rawValue: Swift.Int { | ||
123 | - get | ||
124 | - } | ||
125 | -} | ||
126 | -public enum BlockMode { | ||
127 | - 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>) | ||
128 | - public enum Error : Swift.Error { | ||
129 | - case invalidKeyOrInitializationVector | ||
130 | - case invalidInitializationVector | ||
131 | - public static func == (a: hhVDoctorSDK.BlockMode.Error, b: hhVDoctorSDK.BlockMode.Error) -> Swift.Bool | ||
132 | - public var hashValue: Swift.Int { | ||
133 | - get | ||
134 | - } | ||
135 | - public func hash(into hasher: inout Swift.Hasher) | ||
136 | - } | ||
137 | -} | ||
138 | -extension Blowfish { | ||
139 | - convenience public init(key: Swift.String, iv: Swift.String, padding: hhVDoctorSDK.Padding = .pkcs7) throws | ||
140 | -} | ||
141 | -final public class Blowfish { | ||
142 | - public enum Error : Swift.Error { | ||
143 | - case dataPaddingRequired | ||
144 | - case invalidKeyOrInitializationVector | ||
145 | - case invalidInitializationVector | ||
146 | - public static func == (a: hhVDoctorSDK.Blowfish.Error, b: hhVDoctorSDK.Blowfish.Error) -> Swift.Bool | ||
147 | - public var hashValue: Swift.Int { | ||
148 | - get | ||
149 | - } | ||
150 | - public func hash(into hasher: inout Swift.Hasher) | ||
151 | - } | ||
152 | - public static let blockSize: Swift.Int | ||
153 | - final public let keySize: Swift.Int | ||
154 | - public init(key: Swift.Array<Swift.UInt8>, blockMode: hhVDoctorSDK.BlockMode = .CBC(iv: Array<UInt8>(repeating: 0, count: Blowfish.blockSize)), padding: hhVDoctorSDK.Padding) throws | ||
155 | - @objc deinit | ||
156 | -} | ||
157 | -extension Blowfish : hhVDoctorSDK.Cipher { | ||
158 | - final public func encrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int | ||
159 | - final public func decrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int | ||
160 | -} | ||
161 | -@_hasMissingDesignatedInitializers public class BusyPics { | ||
162 | - public static let `default`: hhVDoctorSDK.BusyPics | ||
163 | - public func cacheImgs() | ||
164 | - public func getImgs() -> [Foundation.URL?] | ||
165 | - @objc deinit | ||
166 | -} | ||
167 | -extension ChaCha20 { | ||
168 | - convenience public init(key: Swift.String, iv: Swift.String) throws | ||
169 | -} | ||
170 | -final public class ChaCha20 { | ||
171 | - public enum Error : Swift.Error { | ||
172 | - case invalidKeyOrInitializationVector | ||
173 | - public static func == (a: hhVDoctorSDK.ChaCha20.Error, b: hhVDoctorSDK.ChaCha20.Error) -> Swift.Bool | ||
174 | - public var hashValue: Swift.Int { | ||
175 | - get | ||
176 | - } | ||
177 | - public func hash(into hasher: inout Swift.Hasher) | ||
178 | - } | ||
179 | - public static let blockSize: Swift.Int | ||
180 | - final public let keySize: Swift.Int | ||
181 | - public init(key: Swift.Array<Swift.UInt8>, iv nonce: Swift.Array<Swift.UInt8>) throws | ||
182 | - @objc deinit | ||
183 | -} | ||
184 | -extension ChaCha20 : hhVDoctorSDK.Cipher { | ||
185 | - final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
186 | - final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
187 | -} | ||
188 | -extension ChaCha20 { | ||
189 | - public struct Encryptor : hhVDoctorSDK.Updatable { | ||
190 | - public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> | ||
191 | - } | ||
192 | -} | ||
193 | -extension ChaCha20 { | ||
194 | - public struct Decryptor : hhVDoctorSDK.Updatable { | ||
195 | - public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = true) throws -> Swift.Array<Swift.UInt8> | ||
196 | - } | ||
197 | -} | ||
198 | -extension ChaCha20 : hhVDoctorSDK.Cryptors { | ||
199 | - final public func makeEncryptor() -> hhVDoctorSDK.ChaCha20.Encryptor | ||
200 | - final public func makeDecryptor() -> hhVDoctorSDK.ChaCha20.Decryptor | ||
201 | - public typealias EncryptorType = hhVDoctorSDK.ChaCha20.Encryptor | ||
202 | - public typealias DecryptorType = hhVDoctorSDK.ChaCha20.Decryptor | ||
203 | -} | ||
204 | -@_hasMissingDesignatedInitializers final public class Checksum { | ||
205 | - @objc deinit | ||
206 | -} | ||
207 | -extension Checksum { | ||
208 | - public static func crc32(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32 | ||
209 | - public static func crc16(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt16? = nil) -> Swift.UInt16 | ||
210 | -} | ||
211 | -public enum CipherError : Swift.Error { | ||
212 | - case encrypt | ||
213 | - case decrypt | ||
214 | - public static func == (a: hhVDoctorSDK.CipherError, b: hhVDoctorSDK.CipherError) -> Swift.Bool | ||
215 | - public var hashValue: Swift.Int { | ||
216 | - get | ||
217 | - } | ||
218 | - public func hash(into hasher: inout Swift.Hasher) | ||
219 | -} | ||
220 | -public protocol Cipher : AnyObject { | ||
221 | - var keySize: Swift.Int { get } | ||
222 | - func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
223 | - func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
224 | - func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
225 | - func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
226 | -} | ||
227 | -extension Cipher { | ||
228 | - public func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
229 | - public func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
230 | -} | ||
231 | -final public class CMAC : hhVDoctorSDK.Authenticator { | ||
232 | - public enum Error : Swift.Error { | ||
233 | - case wrongKeyLength | ||
234 | - public static func == (a: hhVDoctorSDK.CMAC.Error, b: hhVDoctorSDK.CMAC.Error) -> Swift.Bool | ||
235 | - public var hashValue: Swift.Int { | ||
236 | - get | ||
237 | - } | ||
238 | - public func hash(into hasher: inout Swift.Hasher) | ||
239 | - } | ||
240 | - public init(key: Swift.Array<Swift.UInt8>) throws | ||
241 | - final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
242 | - @objc deinit | ||
243 | -} | ||
244 | -extension UIImageView { | ||
245 | - public func hh_image(url: Foundation.URL?) | ||
246 | - public func hh_image(url: Foundation.URL?, complete: ((UIKit.UIImage?, Foundation.URL?) -> Swift.Void)?) | ||
247 | - public func hh_image(url: Foundation.URL?, placeHolder: UIKit.UIImage?) | ||
248 | - public func hh_image(url: Foundation.URL?, placeHolder: UIKit.UIImage?, progresses: ((CoreGraphics.CGFloat) -> Swift.Void)?, complete: ((UIKit.UIImage?, Foundation.URL?) -> Swift.Void)?) | ||
249 | -} | ||
250 | -public func hh_downloadImg(_ url: Foundation.URL?, finish: @escaping ((UIKit.UIImage?, Foundation.Data?, Swift.Error?) -> Swift.Void)) | ||
251 | -public protocol Cryptors : AnyObject { | ||
252 | - associatedtype EncryptorType : hhVDoctorSDK.Updatable | ||
253 | - associatedtype DecryptorType : hhVDoctorSDK.Updatable | ||
254 | - func makeEncryptor() throws -> Self.EncryptorType | ||
255 | - func makeDecryptor() throws -> Self.DecryptorType | ||
256 | - static func randomIV(_ blockSize: Swift.Int) -> Swift.Array<Swift.UInt8> | ||
257 | -} | ||
258 | -extension Cryptors { | ||
259 | - public static func randomIV(_ blockSize: Swift.Int) -> Swift.Array<Swift.UInt8> | ||
260 | -} | ||
261 | -extension Data { | ||
262 | - public func checksum() -> Swift.UInt16 | ||
263 | - public func md5() -> Foundation.Data | ||
264 | - public func sha1() -> Foundation.Data | ||
265 | - public func sha224() -> Foundation.Data | ||
266 | - public func sha256() -> Foundation.Data | ||
267 | - public func sha384() -> Foundation.Data | ||
268 | - public func sha512() -> Foundation.Data | ||
269 | - public func sha3(_ variant: hhVDoctorSDK.SHA3.Variant) -> Foundation.Data | ||
270 | - public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Foundation.Data | ||
271 | - public func crc16(seed: Swift.UInt16? = nil) -> Foundation.Data | ||
272 | - public func encrypt(cipher: hhVDoctorSDK.Cipher) throws -> Foundation.Data | ||
273 | - public func decrypt(cipher: hhVDoctorSDK.Cipher) throws -> Foundation.Data | ||
274 | - public func authenticate(with authenticator: hhVDoctorSDK.Authenticator) throws -> Foundation.Data | ||
275 | -} | ||
276 | -extension Data { | ||
277 | - public init(hex: Swift.String) | ||
278 | - public var bytes: Swift.Array<Swift.UInt8> { | ||
279 | - get | ||
280 | - } | ||
281 | - public func toHexString() -> Swift.String | ||
282 | -} | ||
283 | -public typealias Hash = hhVDoctorSDK.Digest | ||
284 | -public struct Digest { | ||
285 | - public static func md5(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
286 | - public static func sha1(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
287 | - public static func sha224(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
288 | - public static func sha256(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
289 | - public static func sha384(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
290 | - public static func sha512(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
291 | - public static func sha2(_ bytes: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.SHA2.Variant) -> Swift.Array<Swift.UInt8> | ||
292 | - public static func sha3(_ bytes: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.SHA3.Variant) -> Swift.Array<Swift.UInt8> | ||
293 | -} | ||
294 | -@objc public protocol FloatRatingViewDelegate { | ||
295 | - @objc func floatRatingView(_ ratingView: hhVDoctorSDK.FloatRatingView, didUpdate rating: Swift.Float) | ||
296 | - @objc optional func floatRatingView(_ ratingView: hhVDoctorSDK.FloatRatingView, isUpdating rating: Swift.Float) | ||
297 | -} | ||
298 | -@objc @_inheritsConvenienceInitializers @IBDesignable open class FloatRatingView : UIKit.UIView { | ||
299 | - weak open var delegate: hhVDoctorSDK.FloatRatingViewDelegate? | ||
300 | - @objc @IBInspectable open var emptyImage: UIKit.UIImage? { | ||
301 | - @objc get | ||
302 | - @objc set | ||
303 | - } | ||
304 | - @objc @IBInspectable open var fullImage: UIKit.UIImage? { | ||
305 | - @objc get | ||
306 | - @objc set | ||
307 | - } | ||
308 | - @objc @IBInspectable open var minRating: Swift.Int { | ||
309 | - @objc get | ||
310 | - @objc set | ||
311 | - } | ||
312 | - @objc @IBInspectable open var maxRating: Swift.Int { | ||
313 | - @objc get | ||
314 | - @objc set | ||
315 | - } | ||
316 | - @objc @IBInspectable open var minImageSize: CoreGraphics.CGSize | ||
317 | - @objc @IBInspectable open var rating: Swift.Float { | ||
318 | - @objc get | ||
319 | - @objc set | ||
320 | - } | ||
321 | - @objc @IBInspectable open var editable: Swift.Bool | ||
322 | - @objc @IBInspectable open var halfRatings: Swift.Bool | ||
323 | - @objc @IBInspectable open var floatRatings: Swift.Bool | ||
324 | - @objc required override dynamic public init(frame: CoreGraphics.CGRect) | ||
325 | - @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) | ||
326 | - @objc override dynamic open func layoutSubviews() | ||
327 | - @objc override dynamic open func touchesBegan(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?) | ||
328 | - @objc override dynamic open func touchesMoved(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?) | ||
329 | - @objc override dynamic open func touchesEnded(_ touches: Swift.Set<UIKit.UITouch>, with event: UIKit.UIEvent?) | ||
330 | - @objc deinit | ||
331 | -} | ||
332 | -@objc @_inheritsConvenienceInitializers public class HHAccountManager : ObjectiveC.NSObject { | ||
333 | - public static func getUUID() -> Swift.String? | ||
334 | - @objc deinit | ||
335 | - @objc override dynamic public init() | ||
336 | -} | ||
337 | -public class HHCameraConfig { | ||
338 | - weak public var sender: UIKit.UIViewController! | ||
339 | - public var mediaType: hhVDoctorSDK.HHMediaType | ||
340 | - public var isGrayCam: Swift.Bool | ||
341 | - public var canReduce: Swift.Bool | ||
342 | - public var autoUpload: Swift.Bool | ||
343 | - public var maxCount: Swift.Int? | ||
344 | - public var crop: hhVDoctorSDK.onCropFinish? | ||
345 | - public var canceled: hhVDoctorSDK.onCanceled? | ||
346 | - public init() | ||
347 | - public func build(_ block: (inout hhVDoctorSDK.HHCameraConfig) -> Swift.Void) -> hhVDoctorSDK.HHCameraConfig | ||
348 | - @objc deinit | ||
349 | -} | ||
350 | -public typealias HHFetchBlock = (UIKit.UIImage?, [Swift.AnyHashable : Any]?) -> Swift.Void | ||
351 | -public typealias onCanceled = (() -> Swift.Void) | ||
352 | -public typealias onCapFinished = (([hhVDoctorSDK.HHCameraImageModel]?) -> Swift.Void) | ||
353 | -public typealias onCropFinish = (UIKit.UIImage, Swift.String?) -> Swift.Void | ||
354 | -public enum HHMediaType : Swift.Int { | ||
355 | - case cusCamera | ||
356 | - case sysCamera | ||
357 | - case cusVideo | ||
358 | - case sysVideo | ||
359 | - case photoImage | ||
360 | - case photoVideo | ||
361 | - case cusPhoto | ||
362 | - case sysCrop | ||
363 | - public typealias RawValue = Swift.Int | ||
364 | - public init?(rawValue: Swift.Int) | ||
365 | - public var rawValue: Swift.Int { | ||
366 | - get | ||
367 | - } | ||
368 | -} | ||
369 | -public enum DateFormat : Swift.String { | ||
370 | - case Full | ||
371 | - case SingleDate | ||
372 | - case Single | ||
373 | - case WithoutSecond | ||
374 | - case WithoutYearAndSecond | ||
375 | - case HourMinute | ||
376 | - case CN_Month_Day | ||
377 | - case CN_Hour_Minute | ||
378 | - public typealias RawValue = Swift.String | ||
379 | - public init?(rawValue: Swift.String) | ||
380 | - public var rawValue: Swift.String { | ||
381 | - get | ||
382 | - } | ||
383 | -} | ||
384 | -@objc @_inheritsConvenienceInitializers public class HHDateUtils : ObjectiveC.NSObject { | ||
385 | - public class func getDateForChinaStr() -> Swift.String | ||
386 | - public static func stringWithDurationFromSeconds(_ seconds: Foundation.TimeInterval) -> Swift.String | ||
387 | - public static func component(_ date: Foundation.Date) -> Foundation.DateComponents | ||
388 | - @objc deinit | ||
389 | - @objc override dynamic public init() | ||
390 | -} | ||
391 | -extension HHDateUtils { | ||
392 | - public class func date2String(_ date: Foundation.Date, format: Swift.String) -> Swift.String | ||
393 | - public class func date2String(_ date: Foundation.Date, format: hhVDoctorSDK.DateFormat) -> Swift.String | ||
394 | -} | ||
395 | -extension HHDateUtils { | ||
396 | - public class func string2Date(_ str: Swift.String, format: hhVDoctorSDK.DateFormat) -> Foundation.Date? | ||
397 | - public class func string2Date(_ str: Swift.String, format: Swift.String) -> Foundation.Date? | ||
398 | -} | ||
399 | -extension HHDateUtils { | ||
400 | - public static func dateStringFromNow(_ date: Swift.Int) -> Swift.String | ||
401 | - public static func dateStringFromInt(_ date: Swift.Int) -> Swift.String | ||
402 | - public static func dateYearStringFromInt(_ date: Swift.Int) -> Swift.String | ||
403 | -} | ||
404 | -@objc @_inheritsConvenienceInitializers open class HHDeviceManager : ObjectiveC.NSObject { | ||
405 | - public static func jailBrokend() -> Swift.Bool | ||
406 | - @objc deinit | ||
407 | - @objc override dynamic public init() | ||
408 | -} | ||
409 | -public struct HHEmptyModel : hhVDoctorSDK.Mappable { | ||
410 | - public init() | ||
411 | - public init?(map: hhVDoctorSDK.Map) | ||
412 | - public mutating func mapping(map: hhVDoctorSDK.Map) | ||
413 | -} | ||
414 | -@_hasMissingDesignatedInitializers public class HHEncryptUtils { | ||
415 | - public static func encrypto(key: Swift.String, content: Swift.String) -> Swift.String? | ||
416 | - public static func decrypto(key: Swift.String, content: Swift.String) -> Swift.String? | ||
417 | - public static func encrypto(key: Swift.String, content: Foundation.Data) -> Foundation.Data? | ||
418 | - public static func decrypto(key: Swift.String, content: Foundation.Data) -> Foundation.Data? | ||
419 | - @objc deinit | ||
420 | -} | ||
421 | -@objc @_inheritsConvenienceInitializers public class HHFileCacheManager : ObjectiveC.NSObject { | ||
422 | - public enum HHAssetPathType { | ||
423 | - case image | ||
424 | - case video | ||
425 | - case sound | ||
426 | - case dicom | ||
427 | - case fb | ||
428 | - case other | ||
429 | - case dataBase | ||
430 | - public static func == (a: hhVDoctorSDK.HHFileCacheManager.HHAssetPathType, b: hhVDoctorSDK.HHFileCacheManager.HHAssetPathType) -> Swift.Bool | ||
431 | - public var hashValue: Swift.Int { | ||
432 | - get | ||
433 | - } | ||
434 | - public func hash(into hasher: inout Swift.Hasher) | ||
435 | - } | ||
436 | - @objc deinit | ||
437 | - @objc override dynamic public init() | ||
438 | -} | ||
439 | -extension HHFileCacheManager { | ||
440 | - public class func getFileFormat(_ name: Swift.String) -> hhVDoctorSDK.HHFileCacheManager.HHAssetPathType | ||
441 | - public class func getFilePath(_ name: Swift.String) -> Swift.String? | ||
442 | -} | ||
443 | -extension HHFileCacheManager { | ||
444 | - public static func saveString2File(_ string: Swift.String?, fileName: Swift.String) | ||
445 | - public static func stringFromFile(_ fileName: Swift.String) -> Swift.String? | ||
446 | -} | ||
447 | -public var uploadManager: hhVDoctorSDK.UploadQueue { | ||
448 | - get | ||
449 | -} | ||
450 | -@_hasMissingDesignatedInitializers public class UploadQueue { | ||
451 | - @discardableResult | ||
452 | - public func upload(files: [Swift.String], config: hhVDoctorSDK.HHUploadConfig) -> hhVDoctorSDK.HHFileUploadManager | ||
453 | - public func cancelAll(_ finished: (() -> Swift.Void)? = nil) | ||
454 | - @objc deinit | ||
455 | -} | ||
456 | -public class HHFileUploadManager { | ||
457 | - public var mFileQueue: [Swift.String] | ||
458 | - public var config: hhVDoctorSDK.HHUploadConfig! | ||
459 | - public var mTransFile: Swift.String? | ||
460 | - public var isUploading: Swift.Bool | ||
461 | - public init(files: [Swift.String], config: hhVDoctorSDK.HHUploadConfig) | ||
462 | - public func uploadFile(_ file: [Swift.String]) | ||
463 | - public func cancalFiles(_ files: [Swift.String], cancelFinish: ((Swift.String) -> Swift.Void)? = nil) | ||
464 | - public func cancelAll(_ finished: (() -> Swift.Void)? = nil) | ||
465 | - @objc deinit | ||
466 | -} | ||
467 | -public protocol HHHUDable { | ||
468 | - var autoDismissDuration: Foundation.TimeInterval { get } | ||
469 | - func showHUD() | ||
470 | - func dismissHUD() | ||
471 | - func showSuccess(_ message: Swift.String?) | ||
472 | - func showError(_ messgae: Swift.String?) | ||
473 | - func setDismissDuration(_ duraion: Foundation.TimeInterval) | ||
474 | -} | ||
475 | -public enum HHLogMode : Swift.Int { | ||
476 | - case error | ||
477 | - case warn | ||
478 | - case info | ||
479 | - case debug | ||
480 | - case verbose | ||
481 | - public typealias RawValue = Swift.Int | ||
482 | - public init?(rawValue: Swift.Int) | ||
483 | - public var rawValue: Swift.Int { | ||
484 | - get | ||
485 | - } | ||
486 | -} | ||
487 | -public func logging(type: hhVDoctorSDK.HHLogMode = .info, _ tip: Swift.String) | ||
488 | -@objc @_inheritsConvenienceInitializers open class HHMediaStatusCheckUtils : ObjectiveC.NSObject { | ||
489 | - open class func checkCameraAccess() -> Swift.Bool | ||
490 | - open class func checkCameraVideoPermission() -> Swift.Bool | ||
491 | - open class func checkAlbumAccess() -> Swift.Bool | ||
492 | - open class func checkAudioAccess() -> Swift.Bool | ||
493 | - @objc deinit | ||
494 | - @objc override dynamic public init() | ||
495 | -} | ||
496 | -@_hasMissingDesignatedInitializers public class HHModelCache { | ||
497 | - public static let instance: hhVDoctorSDK.HHModelCache | ||
498 | - public func cacheModel(_ name: Swift.String, content: Swift.String?) | ||
499 | - public func cacheModel(_ name: Swift.String, content: Foundation.Data?) | ||
500 | - public func getCahceInfo(_ docId: Swift.String?, name: Swift.String, key: Swift.String) -> Swift.String? | ||
501 | - public func getCacheAsync(_ docId: Swift.String?, name: Swift.String, key: Swift.String, callback: @escaping ((Swift.String?) -> Swift.Void)) | ||
502 | - @objc deinit | ||
503 | -} | ||
504 | -public typealias HHLoginHandler = ((Swift.String?) -> Swift.Void) | ||
505 | -@_inheritsConvenienceInitializers @objc public class HHMSDK : ObjectiveC.NSObject { | ||
506 | - @objc public static let `default`: hhVDoctorSDK.HHMSDK | ||
507 | - @objc public func start(option: hhVDoctorSDK.HHSDKOptions) | ||
508 | - @objc public func login(userToken: Swift.String, completion: @escaping hhVDoctorSDK.HHLoginHandler) | ||
509 | - @available(*, deprecated, message: "Use login(userToken: String, completion: @escaping HHLoginHandler) instead.") | ||
510 | - @objc public func login(uuid: Swift.Int, completion: @escaping hhVDoctorSDK.HHLoginHandler) | ||
511 | - @objc public func logout(complete: ((Swift.String?) -> Swift.Void)? = nil) | ||
512 | - @objc public func switchEnv(_ development: Swift.Bool) | ||
513 | - @objc public func startCall(_ type: hhVDoctorSDK.HHCallType) | ||
514 | - @objc public func updateAPNS(token: Foundation.Data) | ||
515 | - @objc public var SDKVersion: Swift.String { | ||
516 | - @objc get | ||
517 | - } | ||
518 | - @objc public var isLogined: Swift.Bool { | ||
519 | - @objc get | ||
520 | - } | ||
521 | - @objc public var userToken: Swift.String? { | ||
522 | - @objc get | ||
523 | - } | ||
524 | - @objc public func add(delegate: hhVDoctorSDK.HHMVideoDelegate) | ||
525 | - @objc public func remove(delegate: hhVDoctorSDK.HHMVideoDelegate) | ||
526 | - @objc override dynamic public init() | ||
527 | - @objc deinit | ||
528 | -} | ||
529 | -extension HHMSDK { | ||
530 | - @objc dynamic public func startMemberCall() | ||
531 | -} | ||
532 | -extension HHMSDK { | ||
533 | - @objc dynamic public func startNewCall(_ uuid: Swift.Int) | ||
534 | -} | ||
535 | -extension HHMSDK { | ||
536 | - @objc dynamic public func getMedicDetail(userToken: Swift.String, medicId: Swift.String) -> Swift.String | ||
537 | - @objc dynamic public func getMedicList(userToken: Swift.String) -> Swift.String | ||
538 | - @objc dynamic public func getAllMedics(userToken: Swift.String) -> Swift.String | ||
539 | -} | ||
540 | -@objc public enum HHMLoginCode : Swift.Int { | ||
541 | - case OK = 0 | ||
542 | - case netError = -1 | ||
543 | - public typealias RawValue = Swift.Int | ||
544 | - public init?(rawValue: Swift.Int) | ||
545 | - public var rawValue: Swift.Int { | ||
546 | - get | ||
547 | - } | ||
548 | -} | ||
549 | -@objc public enum HHCallType : Swift.Int { | ||
550 | - case child = 600000 | ||
551 | - case adult = 600002 | ||
552 | - public typealias RawValue = Swift.Int | ||
553 | - public init?(rawValue: Swift.Int) | ||
554 | - public var rawValue: Swift.Int { | ||
555 | - get | ||
556 | - } | ||
557 | -} | ||
558 | -@objc public enum HHMCallingState : Swift.Int { | ||
559 | - case onStart = 0 | ||
560 | - case waitingDoctor | ||
561 | - case callFreeDoctor | ||
562 | - case callConnect | ||
563 | - case didRing | ||
564 | - public typealias RawValue = Swift.Int | ||
565 | - public init?(rawValue: Swift.Int) | ||
566 | - public var rawValue: Swift.Int { | ||
567 | - get | ||
568 | - } | ||
569 | -} | ||
570 | -@objc public protocol HHMVideoDelegate : ObjectiveC.NSObjectProtocol { | ||
571 | - @objc optional func callStateChange(_ state: hhVDoctorSDK.HHMCallingState) | ||
572 | - @objc optional func callDidEstablish() | ||
573 | - @objc optional func onFail(_ errorCode: Swift.Int, errrorStr: Swift.String?) | ||
574 | - @objc optional func onCancel() | ||
575 | - @objc optional func callDidFinish() | ||
576 | - @objc optional func onExtensionDoctor() | ||
577 | - @objc optional func onReceive(_ callID: Swift.String) | ||
578 | - @objc optional func onResponse(_ accept: Swift.Bool) | ||
579 | - @objc optional func onForceOffline() | ||
580 | -} | ||
581 | -public typealias HHNetError = ((Swift.String) -> (Swift.Void)) | ||
582 | -public typealias HHNetSuccessNoData = () -> Swift.Void | ||
583 | -public typealias NetResult = (Swift.Bool, Swift.String) -> (Swift.Void) | ||
584 | -public enum HHRequestMethod { | ||
585 | - case get | ||
586 | - case post | ||
587 | - public static func == (a: hhVDoctorSDK.HHRequestMethod, b: hhVDoctorSDK.HHRequestMethod) -> Swift.Bool | ||
588 | - public var hashValue: Swift.Int { | ||
589 | - get | ||
590 | - } | ||
591 | - public func hash(into hasher: inout Swift.Hasher) | ||
592 | -} | ||
593 | -public enum HHServerType { | ||
594 | - case pay | ||
595 | - case pacs | ||
596 | - case weixin | ||
597 | - case uploadLog | ||
598 | - public static func == (a: hhVDoctorSDK.HHServerType, b: hhVDoctorSDK.HHServerType) -> Swift.Bool | ||
599 | - public var hashValue: Swift.Int { | ||
600 | - get | ||
601 | - } | ||
602 | - public func hash(into hasher: inout Swift.Hasher) | ||
603 | -} | ||
604 | -public struct HHRequestData { | ||
605 | - public init(body: [Swift.String : Any] = ["default_sw":"default"], param: [Swift.String : Any] = ["default_sw":"default"]) | ||
606 | - public var mHttpBody: [Swift.String : Any] | ||
607 | - public var mParameters: [Swift.String : Any] | ||
608 | -} | ||
609 | -extension UIControl.State : Swift.Hashable { | ||
610 | - public var hashValue: Swift.Int { | ||
611 | - get | ||
612 | - } | ||
613 | -} | ||
614 | -@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @IBDesignable public class HHPagerView : UIKit.UIView, UIKit.UICollectionViewDataSource, UIKit.UICollectionViewDelegate { | ||
615 | - @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) | ||
616 | - @objc override dynamic public func layoutSubviews() | ||
617 | - @objc override dynamic public func willMove(toWindow newWindow: UIKit.UIWindow?) | ||
618 | - @objc override dynamic public func prepareForInterfaceBuilder() | ||
619 | - @objc deinit | ||
620 | - @objc public func numberOfSections(in collectionView: UIKit.UICollectionView) -> Swift.Int | ||
621 | - @objc public func collectionView(_ collectionView: UIKit.UICollectionView, numberOfItemsInSection section: Swift.Int) -> Swift.Int | ||
622 | - @objc public func collectionView(_ collectionView: UIKit.UICollectionView, cellForItemAt indexPath: Foundation.IndexPath) -> UIKit.UICollectionViewCell | ||
623 | - @objc public func collectionView(_ collectionView: UIKit.UICollectionView, shouldHighlightItemAt indexPath: Foundation.IndexPath) -> Swift.Bool | ||
624 | - @objc public func collectionView(_ collectionView: UIKit.UICollectionView, didHighlightItemAt indexPath: Foundation.IndexPath) | ||
625 | - @objc public func collectionView(_ collectionView: UIKit.UICollectionView, shouldSelectItemAt indexPath: Foundation.IndexPath) -> Swift.Bool | ||
626 | - @objc public func collectionView(_ collectionView: UIKit.UICollectionView, didSelectItemAt indexPath: Foundation.IndexPath) | ||
627 | - @objc public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) | ||
628 | - @objc public func collectionView(_ collectionView: UIKit.UICollectionView, didEndDisplaying cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) | ||
629 | - @objc public func scrollViewDidScroll(_ scrollView: UIKit.UIScrollView) | ||
630 | - @objc public func scrollViewWillBeginDragging(_ scrollView: UIKit.UIScrollView) | ||
631 | - @objc public func scrollViewWillEndDragging(_ scrollView: UIKit.UIScrollView, withVelocity velocity: CoreGraphics.CGPoint, targetContentOffset: Swift.UnsafeMutablePointer<CoreGraphics.CGPoint>) | ||
632 | - @objc public func scrollViewDidEndDecelerating(_ scrollView: UIKit.UIScrollView) | ||
633 | - @objc public func scrollViewDidEndScrollingAnimation(_ scrollView: UIKit.UIScrollView) | ||
634 | -} | ||
635 | -@objc public enum HHPagerViewTransformerType : Swift.Int { | ||
636 | - case crossFading | ||
637 | - case zoomOut | ||
638 | - case depth | ||
639 | - case overlap | ||
640 | - case linear | ||
641 | - case coverFlow | ||
642 | - case ferrisWheel | ||
643 | - case invertedFerrisWheel | ||
644 | - case cubic | ||
645 | - public typealias RawValue = Swift.Int | ||
646 | - public init?(rawValue: Swift.Int) | ||
647 | - public var rawValue: Swift.Int { | ||
648 | - get | ||
649 | - } | ||
650 | -} | ||
651 | -@objc @_inheritsConvenienceInitializers public class HHPhotoPickerController : UIKit.UINavigationController { | ||
652 | - @objc override dynamic public func viewDidLoad() | ||
653 | - convenience public init(localPath: Swift.String? = nil, deleteMode: Swift.Bool = false, finish: (([hhVDoctorSDK.HHCameraImageModel]?) -> Swift.Void)? = nil) | ||
654 | - public static func selectLocalImags(path: Swift.String? = nil, finish: (([hhVDoctorSDK.HHCameraImageModel]?) -> Swift.Void)?) -> hhVDoctorSDK.HHPhotoPickerController | ||
655 | - @objc deinit | ||
656 | - @available(iOS 5.0, *) | ||
657 | - @objc override dynamic public init(navigationBarClass: Swift.AnyClass?, toolbarClass: Swift.AnyClass?) | ||
658 | - @objc override dynamic public init(rootViewController: UIKit.UIViewController) | ||
659 | - @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) | ||
660 | - @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) | ||
661 | -} | ||
662 | -public class HHRequest<T> where T : hhVDoctorSDK.Mappable { | ||
663 | - public typealias HHNetSuccess = (T) -> Swift.Void | ||
664 | - public typealias HHNetSuccessForArray = ([T]) -> Swift.Void | ||
665 | - public var mRequestData: hhVDoctorSDK.HHRequestData? | ||
666 | - public var mRequestFail: hhVDoctorSDK.HHNetError? | ||
667 | - public var mRequestSuccess: hhVDoctorSDK.HHRequest<T>.HHNetSuccess? | ||
668 | - public var mRequestSuccessNoData: hhVDoctorSDK.HHNetSuccessNoData? | ||
669 | - public var mRequestSuccessForArray: hhVDoctorSDK.HHRequest<T>.HHNetSuccessForArray? | ||
670 | - public var mConfig: hhVDoctorSDK.HHRequestConfig? | ||
671 | - required public init(aRequestConfig: hhVDoctorSDK.HHRequestConfig, requestData: hhVDoctorSDK.HHRequestData? = nil) | ||
672 | - public func start() | ||
673 | - public func cancel() | ||
674 | - @objc deinit | ||
675 | -} | ||
676 | -public protocol HHRequestConfig { | ||
677 | - func serviceURLSuffix() -> Swift.String | ||
678 | - func isNeedUserInfo() -> Swift.Bool | ||
679 | - func requestMethod() -> hhVDoctorSDK.HHRequestMethod | ||
680 | - func requestType() -> hhVDoctorSDK.HHServerType | ||
681 | - func extensionUrlHost() -> Swift.String? | ||
682 | - func needSaveCache() -> Swift.Bool | ||
683 | - func cacheKey() -> Swift.String? | ||
684 | - func loadAppVersion() -> Swift.Bool | ||
685 | - func needDNS() -> Swift.Bool | ||
686 | - func needEncrypt() -> Swift.Bool | ||
687 | -} | ||
688 | -extension HHRequestConfig { | ||
689 | - public func needSaveCache() -> Swift.Bool | ||
690 | - public func cacheKey() -> Swift.String? | ||
691 | - public func isNeedUserInfo() -> Swift.Bool | ||
692 | - public func requestMethod() -> hhVDoctorSDK.HHRequestMethod | ||
693 | - public func requestType() -> hhVDoctorSDK.HHServerType | ||
694 | - public func extensionUrlHost() -> Swift.String? | ||
695 | - public func isHaveExtensionUrl() -> Swift.Bool | ||
696 | - public func loadAppVersion() -> Swift.Bool | ||
697 | - public func needDNS() -> Swift.Bool | ||
698 | - public func needEncrypt() -> Swift.Bool | ||
699 | -} | ||
700 | -extension HHRequest { | ||
701 | - public func startForArray(_ successCallBack: @escaping hhVDoctorSDK.HHRequest<T>.HHNetSuccessForArray, failCallBack: @escaping hhVDoctorSDK.HHNetError) | ||
702 | -} | ||
703 | -public var HMDefaultOpt: hhVDoctorSDK.HHSDKOptions { | ||
704 | - get | ||
705 | -} | ||
706 | -public var HMHudManager: hhVDoctorSDK.HHHUDable { | ||
707 | - get | ||
708 | -} | ||
709 | -@objc public class HHSDKOptions : ObjectiveC.NSObject { | ||
710 | - @objc public static let `default`: hhVDoctorSDK.HHSDKOptions | ||
711 | - @objc public var hudDisTime: Foundation.TimeInterval { | ||
712 | - @objc get | ||
713 | - @objc set | ||
714 | - } | ||
715 | - @objc public var isDebug: Swift.Bool | ||
716 | - @objc public var isDevelopment: Swift.Bool | ||
717 | - public var hudManager: hhVDoctorSDK.HHHUDable | ||
718 | - @objc public var productId: Swift.String | ||
719 | - @objc public var cerName: Swift.String? | ||
720 | - @objc public var allowBeauty: Swift.Bool | ||
721 | - @objc public var allowEvaluate: Swift.Bool | ||
722 | - public var asyncLogin: Swift.Bool | ||
723 | - public var logCallback: ((Swift.String) -> Swift.Void)? | ||
724 | - final public let sdkVersion: Swift.String | ||
725 | - @objc public init(productId: Swift.String, isDebug: Swift.Bool = true, isDevelop: Swift.Bool = true) | ||
726 | - @objc override dynamic public init() | ||
727 | - @objc deinit | ||
728 | -} | ||
729 | -@_hasMissingDesignatedInitializers public class HHUrl { | ||
730 | - public static func makeUrl(_ url: Swift.String) -> Swift.String | ||
731 | - @objc deinit | ||
732 | -} | ||
733 | -@_hasMissingDesignatedInitializers public class UrlParams { | ||
734 | - public static func addCommon(_ param: [Swift.String : Any]?) -> [Swift.String : Any] | ||
735 | - @objc deinit | ||
736 | -} | ||
737 | -@_hasMissingDesignatedInitializers public class HHUserModel : hhVDoctorSDK.Mappable { | ||
738 | - public var product: hhVDoctorSDK.HHMemberInfoModel? | ||
739 | - public var uuid: Swift.Int? | ||
740 | - public var isMember: Swift.Bool? | ||
741 | - required public init?(map: hhVDoctorSDK.Map) | ||
742 | - public func mapping(map: hhVDoctorSDK.Map) | ||
743 | - @objc deinit | ||
744 | -} | ||
745 | -public struct HHMemberInfoModel : hhVDoctorSDK.Mappable { | ||
746 | - public var productStatusDescn: Swift.String? | ||
747 | - public init?(map: hhVDoctorSDK.Map) | ||
748 | - public mutating func mapping(map: hhVDoctorSDK.Map) | ||
749 | -} | ||
750 | -open class HHValueObservable<T> { | ||
751 | - public typealias Observer = (T) -> Swift.Void | ||
752 | - open var observer: hhVDoctorSDK.HHValueObservable<T>.Observer? | ||
753 | - open func observe(_ observer: hhVDoctorSDK.HHValueObservable<T>.Observer?) | ||
754 | - open var value: T { | ||
755 | - get | ||
756 | - set | ||
757 | - } | ||
758 | - public init(_ v: T) | ||
759 | - @objc deinit | ||
760 | -} | ||
761 | -public struct HKDF { | ||
762 | - public enum Error : Swift.Error { | ||
763 | - case invalidInput | ||
764 | - case derivedKeyTooLong | ||
765 | - public static func == (a: hhVDoctorSDK.HKDF.Error, b: hhVDoctorSDK.HKDF.Error) -> Swift.Bool | ||
766 | - public var hashValue: Swift.Int { | ||
767 | - get | ||
768 | - } | ||
769 | - public func hash(into hasher: inout Swift.Hasher) | ||
770 | - } | ||
771 | - 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 | ||
772 | - public func calculate() throws -> Swift.Array<Swift.UInt8> | ||
773 | -} | ||
774 | -extension HMAC { | ||
775 | - convenience public init(key: Swift.String, variant: hhVDoctorSDK.HMAC.Variant = .md5) throws | ||
776 | -} | ||
777 | -final public class HMAC : hhVDoctorSDK.Authenticator { | ||
778 | - public enum Error : Swift.Error { | ||
779 | - case authenticateError | ||
780 | - case invalidInput | ||
781 | - public static func == (a: hhVDoctorSDK.HMAC.Error, b: hhVDoctorSDK.HMAC.Error) -> Swift.Bool | ||
782 | - public var hashValue: Swift.Int { | ||
783 | - get | ||
784 | - } | ||
785 | - public func hash(into hasher: inout Swift.Hasher) | ||
786 | - } | ||
787 | - public enum Variant { | ||
788 | - case sha1, sha256, sha384, sha512, md5 | ||
789 | - public static func == (a: hhVDoctorSDK.HMAC.Variant, b: hhVDoctorSDK.HMAC.Variant) -> Swift.Bool | ||
790 | - public var hashValue: Swift.Int { | ||
791 | - get | ||
792 | - } | ||
793 | - public func hash(into hasher: inout Swift.Hasher) | ||
794 | - } | ||
795 | - public init(key: Swift.Array<Swift.UInt8>, variant: hhVDoctorSDK.HMAC.Variant = .md5) | ||
796 | - final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
797 | - @objc deinit | ||
798 | -} | ||
799 | -public let KeychainAccessErrorDomain: Swift.String | ||
800 | -public enum ItemClass { | ||
801 | - case genericPassword | ||
802 | - case internetPassword | ||
803 | -} | ||
804 | -public enum ProtocolType { | ||
805 | - case ftp | ||
806 | - case ftpAccount | ||
807 | - case http | ||
808 | - case irc | ||
809 | - case nntp | ||
810 | - case pop3 | ||
811 | - case smtp | ||
812 | - case socks | ||
813 | - case imap | ||
814 | - case ldap | ||
815 | - case appleTalk | ||
816 | - case afp | ||
817 | - case telnet | ||
818 | - case ssh | ||
819 | - case ftps | ||
820 | - case https | ||
821 | - case httpProxy | ||
822 | - case httpsProxy | ||
823 | - case ftpProxy | ||
824 | - case smb | ||
825 | - case rtsp | ||
826 | - case rtspProxy | ||
827 | - case daap | ||
828 | - case eppc | ||
829 | - case ipp | ||
830 | - case nntps | ||
831 | - case ldaps | ||
832 | - case telnetS | ||
833 | - case imaps | ||
834 | - case ircs | ||
835 | - case pop3S | ||
836 | -} | ||
837 | -public enum AuthenticationType { | ||
838 | - case ntlm | ||
839 | - case msn | ||
840 | - case dpa | ||
841 | - case rpa | ||
842 | - case httpBasic | ||
843 | - case httpDigest | ||
844 | - case htmlForm | ||
845 | - case `default` | ||
846 | -} | ||
847 | -public enum Accessibility { | ||
848 | - case whenUnlocked | ||
849 | - case afterFirstUnlock | ||
850 | - case always | ||
851 | - @available(iOS 8.0, OSX 10.10, *) | ||
852 | - case whenPasscodeSetThisDeviceOnly | ||
853 | - case whenUnlockedThisDeviceOnly | ||
854 | - case afterFirstUnlockThisDeviceOnly | ||
855 | - case alwaysThisDeviceOnly | ||
856 | -} | ||
857 | -public struct AuthenticationPolicy : Swift.OptionSet { | ||
858 | - @available(iOS 8.0, OSX 10.10, *) | ||
859 | - @available(watchOS, unavailable) | ||
860 | - public static let userPresence: hhVDoctorSDK.AuthenticationPolicy | ||
861 | - @available(iOS 9.0, *) | ||
862 | - @available(OSX, unavailable) | ||
863 | - @available(watchOS, unavailable) | ||
864 | - public static let touchIDAny: hhVDoctorSDK.AuthenticationPolicy | ||
865 | - @available(iOS 9.0, *) | ||
866 | - @available(OSX, unavailable) | ||
867 | - @available(watchOS, unavailable) | ||
868 | - public static let touchIDCurrentSet: hhVDoctorSDK.AuthenticationPolicy | ||
869 | - @available(iOS 9.0, OSX 10.11, *) | ||
870 | - @available(watchOS, unavailable) | ||
871 | - public static let devicePasscode: hhVDoctorSDK.AuthenticationPolicy | ||
872 | - @available(iOS 9.0, *) | ||
873 | - @available(OSX, unavailable) | ||
874 | - @available(watchOS, unavailable) | ||
875 | - public static let or: hhVDoctorSDK.AuthenticationPolicy | ||
876 | - @available(iOS 9.0, *) | ||
877 | - @available(OSX, unavailable) | ||
878 | - @available(watchOS, unavailable) | ||
879 | - public static let and: hhVDoctorSDK.AuthenticationPolicy | ||
880 | - @available(iOS 9.0, *) | ||
881 | - @available(OSX, unavailable) | ||
882 | - @available(watchOS, unavailable) | ||
883 | - public static let privateKeyUsage: hhVDoctorSDK.AuthenticationPolicy | ||
884 | - @available(iOS 9.0, *) | ||
885 | - @available(OSX, unavailable) | ||
886 | - @available(watchOS, unavailable) | ||
887 | - public static let applicationPassword: hhVDoctorSDK.AuthenticationPolicy | ||
888 | - public let rawValue: Swift.UInt | ||
889 | - public init(rawValue: Swift.UInt) | ||
890 | - public typealias Element = hhVDoctorSDK.AuthenticationPolicy | ||
891 | - public typealias ArrayLiteralElement = hhVDoctorSDK.AuthenticationPolicy | ||
892 | - public typealias RawValue = Swift.UInt | ||
893 | -} | ||
894 | -public struct Attributes { | ||
895 | - public var `class`: Swift.String? { | ||
896 | - get | ||
897 | - } | ||
898 | - public var data: Foundation.Data? { | ||
899 | - get | ||
900 | - } | ||
901 | - public var ref: Foundation.Data? { | ||
902 | - get | ||
903 | - } | ||
904 | - public var persistentRef: Foundation.Data? { | ||
905 | - get | ||
906 | - } | ||
907 | - public var accessible: Swift.String? { | ||
908 | - get | ||
909 | - } | ||
910 | - public var accessControl: Security.SecAccessControl? { | ||
911 | - get | ||
912 | - } | ||
913 | - public var accessGroup: Swift.String? { | ||
914 | - get | ||
915 | - } | ||
916 | - public var synchronizable: Swift.Bool? { | ||
917 | - get | ||
918 | - } | ||
919 | - public var creationDate: Foundation.Date? { | ||
920 | - get | ||
921 | - } | ||
922 | - public var modificationDate: Foundation.Date? { | ||
923 | - get | ||
924 | - } | ||
925 | - public var attributeDescription: Swift.String? { | ||
926 | - get | ||
927 | - } | ||
928 | - public var comment: Swift.String? { | ||
929 | - get | ||
930 | - } | ||
931 | - public var creator: Swift.String? { | ||
932 | - get | ||
933 | - } | ||
934 | - public var type: Swift.String? { | ||
935 | - get | ||
936 | - } | ||
937 | - public var label: Swift.String? { | ||
938 | - get | ||
939 | - } | ||
940 | - public var isInvisible: Swift.Bool? { | ||
941 | - get | ||
942 | - } | ||
943 | - public var isNegative: Swift.Bool? { | ||
944 | - get | ||
945 | - } | ||
946 | - public var account: Swift.String? { | ||
947 | - get | ||
948 | - } | ||
949 | - public var service: Swift.String? { | ||
950 | - get | ||
951 | - } | ||
952 | - public var generic: Foundation.Data? { | ||
953 | - get | ||
954 | - } | ||
955 | - public var securityDomain: Swift.String? { | ||
956 | - get | ||
957 | - } | ||
958 | - public var server: Swift.String? { | ||
959 | - get | ||
960 | - } | ||
961 | - public var `protocol`: Swift.String? { | ||
962 | - get | ||
963 | - } | ||
964 | - public var authenticationType: Swift.String? { | ||
965 | - get | ||
966 | - } | ||
967 | - public var port: Swift.Int? { | ||
968 | - get | ||
969 | - } | ||
970 | - public var path: Swift.String? { | ||
971 | - get | ||
972 | - } | ||
973 | - public subscript(key: Swift.String) -> Any? { | ||
974 | - get | ||
975 | - } | ||
976 | -} | ||
977 | -@_hasMissingDesignatedInitializers final public class Keychain { | ||
978 | - final public var itemClass: hhVDoctorSDK.ItemClass { | ||
979 | - get | ||
980 | - } | ||
981 | - final public var service: Swift.String { | ||
982 | - get | ||
983 | - } | ||
984 | - final public var accessGroup: Swift.String? { | ||
985 | - get | ||
986 | - } | ||
987 | - final public var server: Foundation.URL { | ||
988 | - get | ||
989 | - } | ||
990 | - final public var protocolType: hhVDoctorSDK.ProtocolType { | ||
991 | - get | ||
992 | - } | ||
993 | - final public var authenticationType: hhVDoctorSDK.AuthenticationType { | ||
994 | - get | ||
995 | - } | ||
996 | - final public var accessibility: hhVDoctorSDK.Accessibility { | ||
997 | - get | ||
998 | - } | ||
999 | - @available(iOS 8.0, OSX 10.10, *) | ||
1000 | - @available(watchOS, unavailable) | ||
1001 | - final public var authenticationPolicy: hhVDoctorSDK.AuthenticationPolicy? { | ||
1002 | - get | ||
1003 | - } | ||
1004 | - final public var synchronizable: Swift.Bool { | ||
1005 | - get | ||
1006 | - } | ||
1007 | - final public var label: Swift.String? { | ||
1008 | - get | ||
1009 | - } | ||
1010 | - final public var comment: Swift.String? { | ||
1011 | - get | ||
1012 | - } | ||
1013 | - @available(iOS 8.0, OSX 10.10, *) | ||
1014 | - @available(watchOS, unavailable) | ||
1015 | - final public var authenticationPrompt: Swift.String? { | ||
1016 | - get | ||
1017 | - } | ||
1018 | - @available(iOS 9.0, OSX 10.11, *) | ||
1019 | - final public var authenticationContext: LocalAuthentication.LAContext? { | ||
1020 | - get | ||
1021 | - } | ||
1022 | - convenience public init() | ||
1023 | - convenience public init(service: Swift.String) | ||
1024 | - convenience public init(accessGroup: Swift.String) | ||
1025 | - convenience public init(service: Swift.String, accessGroup: Swift.String) | ||
1026 | - convenience public init(server: Swift.String, protocolType: hhVDoctorSDK.ProtocolType, authenticationType: hhVDoctorSDK.AuthenticationType = .default) | ||
1027 | - convenience public init(server: Foundation.URL, protocolType: hhVDoctorSDK.ProtocolType, authenticationType: hhVDoctorSDK.AuthenticationType = .default) | ||
1028 | - final public func accessibility(_ accessibility: hhVDoctorSDK.Accessibility) -> hhVDoctorSDK.Keychain | ||
1029 | - @available(iOS 8.0, OSX 10.10, *) | ||
1030 | - @available(watchOS, unavailable) | ||
1031 | - final public func accessibility(_ accessibility: hhVDoctorSDK.Accessibility, authenticationPolicy: hhVDoctorSDK.AuthenticationPolicy) -> hhVDoctorSDK.Keychain | ||
1032 | - final public func synchronizable(_ synchronizable: Swift.Bool) -> hhVDoctorSDK.Keychain | ||
1033 | - final public func label(_ label: Swift.String) -> hhVDoctorSDK.Keychain | ||
1034 | - final public func comment(_ comment: Swift.String) -> hhVDoctorSDK.Keychain | ||
1035 | - final public func attributes(_ attributes: [Swift.String : Any]) -> hhVDoctorSDK.Keychain | ||
1036 | - @available(iOS 8.0, OSX 10.10, *) | ||
1037 | - @available(watchOS, unavailable) | ||
1038 | - final public func authenticationPrompt(_ authenticationPrompt: Swift.String) -> hhVDoctorSDK.Keychain | ||
1039 | - @available(iOS 9.0, OSX 10.11, *) | ||
1040 | - final public func authenticationContext(_ authenticationContext: LocalAuthentication.LAContext) -> hhVDoctorSDK.Keychain | ||
1041 | - final public func get(_ key: Swift.String) throws -> Swift.String? | ||
1042 | - final public func getString(_ key: Swift.String) throws -> Swift.String? | ||
1043 | - final public func getData(_ key: Swift.String) throws -> Foundation.Data? | ||
1044 | - final public func get<T>(_ key: Swift.String, handler: (hhVDoctorSDK.Attributes?) -> T) throws -> T | ||
1045 | - final public func set(_ value: Swift.String, key: Swift.String) throws | ||
1046 | - final public func set(_ value: Foundation.Data, key: Swift.String) throws | ||
1047 | - final public subscript(key: Swift.String) -> Swift.String? { | ||
1048 | - get | ||
1049 | - set | ||
1050 | - } | ||
1051 | - final public subscript(string key: Swift.String) -> Swift.String? { | ||
1052 | - get | ||
1053 | - set | ||
1054 | - } | ||
1055 | - final public subscript(data key: Swift.String) -> Foundation.Data? { | ||
1056 | - get | ||
1057 | - set | ||
1058 | - } | ||
1059 | - final public subscript(attributes key: Swift.String) -> hhVDoctorSDK.Attributes? { | ||
1060 | - get | ||
1061 | - } | ||
1062 | - final public func remove(_ key: Swift.String) throws | ||
1063 | - final public func removeAll() throws | ||
1064 | - final public func contains(_ key: Swift.String) throws -> Swift.Bool | ||
1065 | - final public class func allKeys(_ itemClass: hhVDoctorSDK.ItemClass) -> [(Swift.String, Swift.String)] | ||
1066 | - final public func allKeys() -> [Swift.String] | ||
1067 | - final public class func allItems(_ itemClass: hhVDoctorSDK.ItemClass) -> [[Swift.String : Any]] | ||
1068 | - final public func allItems() -> [[Swift.String : Any]] | ||
1069 | - @available(iOS 8.0, *) | ||
1070 | - final public func getSharedPassword(_ completion: @escaping (Swift.String?, Swift.String?, Swift.Error?) -> () = { account, password, error -> () in }) | ||
1071 | - @available(iOS 8.0, *) | ||
1072 | - final public func getSharedPassword(_ account: Swift.String, completion: @escaping (Swift.String?, Swift.Error?) -> () = { password, error -> () in }) | ||
1073 | - @available(iOS 8.0, *) | ||
1074 | - final public func setSharedPassword(_ password: Swift.String, account: Swift.String, completion: @escaping (Swift.Error?) -> () = { e -> () in }) | ||
1075 | - @available(iOS 8.0, *) | ||
1076 | - final public func removeSharedPassword(_ account: Swift.String, completion: @escaping (Swift.Error?) -> () = { e -> () in }) | ||
1077 | - @available(iOS 8.0, *) | ||
1078 | - final public class func requestSharedWebCredential(_ completion: @escaping ([[Swift.String : Swift.String]], Swift.Error?) -> () = { credentials, error -> () in }) | ||
1079 | - @available(iOS 8.0, *) | ||
1080 | - final public class func requestSharedWebCredential(domain: Swift.String, completion: @escaping ([[Swift.String : Swift.String]], Swift.Error?) -> () = { credentials, error -> () in }) | ||
1081 | - @available(iOS 8.0, *) | ||
1082 | - final public class func requestSharedWebCredential(domain: Swift.String, account: Swift.String, completion: @escaping ([[Swift.String : Swift.String]], Swift.Error?) -> () = { credentials, error -> () in }) | ||
1083 | - @available(iOS 8.0, *) | ||
1084 | - final public class func generatePassword() -> Swift.String | ||
1085 | - @objc deinit | ||
1086 | -} | ||
1087 | -extension Keychain : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible { | ||
1088 | - final public var description: Swift.String { | ||
1089 | - get | ||
1090 | - } | ||
1091 | - final public var debugDescription: Swift.String { | ||
1092 | - get | ||
1093 | - } | ||
1094 | -} | ||
1095 | -extension Attributes : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible { | ||
1096 | - public var description: Swift.String { | ||
1097 | - get | ||
1098 | - } | ||
1099 | - public var debugDescription: Swift.String { | ||
1100 | - get | ||
1101 | - } | ||
1102 | -} | ||
1103 | -extension ItemClass : Swift.RawRepresentable, Swift.CustomStringConvertible { | ||
1104 | - public init?(rawValue: Swift.String) | ||
1105 | - public var rawValue: Swift.String { | ||
1106 | - get | ||
1107 | - } | ||
1108 | - public var description: Swift.String { | ||
1109 | - get | ||
1110 | - } | ||
1111 | - public typealias RawValue = Swift.String | ||
1112 | -} | ||
1113 | -extension ProtocolType : Swift.RawRepresentable, Swift.CustomStringConvertible { | ||
1114 | - public init?(rawValue: Swift.String) | ||
1115 | - public var rawValue: Swift.String { | ||
1116 | - get | ||
1117 | - } | ||
1118 | - public var description: Swift.String { | ||
1119 | - get | ||
1120 | - } | ||
1121 | - public typealias RawValue = Swift.String | ||
1122 | -} | ||
1123 | -extension AuthenticationType : Swift.RawRepresentable, Swift.CustomStringConvertible { | ||
1124 | - public init?(rawValue: Swift.String) | ||
1125 | - public var rawValue: Swift.String { | ||
1126 | - get | ||
1127 | - } | ||
1128 | - public var description: Swift.String { | ||
1129 | - get | ||
1130 | - } | ||
1131 | - public typealias RawValue = Swift.String | ||
1132 | -} | ||
1133 | -extension Accessibility : Swift.RawRepresentable, Swift.CustomStringConvertible { | ||
1134 | - public init?(rawValue: Swift.String) | ||
1135 | - public var rawValue: Swift.String { | ||
1136 | - get | ||
1137 | - } | ||
1138 | - public var description: Swift.String { | ||
1139 | - get | ||
1140 | - } | ||
1141 | - public typealias RawValue = Swift.String | ||
1142 | -} | ||
1143 | -public enum Status : Darwin.OSStatus, Swift.Error { | ||
1144 | - case success | ||
1145 | - case unimplemented | ||
1146 | - case diskFull | ||
1147 | - case io | ||
1148 | - case opWr | ||
1149 | - case param | ||
1150 | - case wrPerm | ||
1151 | - case allocate | ||
1152 | - case userCanceled | ||
1153 | - case badReq | ||
1154 | - case internalComponent | ||
1155 | - case notAvailable | ||
1156 | - case readOnly | ||
1157 | - case authFailed | ||
1158 | - case noSuchKeychain | ||
1159 | - case invalidKeychain | ||
1160 | - case duplicateKeychain | ||
1161 | - case duplicateCallback | ||
1162 | - case invalidCallback | ||
1163 | - case duplicateItem | ||
1164 | - case itemNotFound | ||
1165 | - case bufferTooSmall | ||
1166 | - case dataTooLarge | ||
1167 | - case noSuchAttr | ||
1168 | - case invalidItemRef | ||
1169 | - case invalidSearchRef | ||
1170 | - case noSuchClass | ||
1171 | - case noDefaultKeychain | ||
1172 | - case interactionNotAllowed | ||
1173 | - case readOnlyAttr | ||
1174 | - case wrongSecVersion | ||
1175 | - case keySizeNotAllowed | ||
1176 | - case noStorageModule | ||
1177 | - case noCertificateModule | ||
1178 | - case noPolicyModule | ||
1179 | - case interactionRequired | ||
1180 | - case dataNotAvailable | ||
1181 | - case dataNotModifiable | ||
1182 | - case createChainFailed | ||
1183 | - case invalidPrefsDomain | ||
1184 | - case inDarkWake | ||
1185 | - case aclNotSimple | ||
1186 | - case policyNotFound | ||
1187 | - case invalidTrustSetting | ||
1188 | - case noAccessForItem | ||
1189 | - case invalidOwnerEdit | ||
1190 | - case trustNotAvailable | ||
1191 | - case unsupportedFormat | ||
1192 | - case unknownFormat | ||
1193 | - case keyIsSensitive | ||
1194 | - case multiplePrivKeys | ||
1195 | - case passphraseRequired | ||
1196 | - case invalidPasswordRef | ||
1197 | - case invalidTrustSettings | ||
1198 | - case noTrustSettings | ||
1199 | - case pkcs12VerifyFailure | ||
1200 | - case invalidCertificate | ||
1201 | - case notSigner | ||
1202 | - case policyDenied | ||
1203 | - case invalidKey | ||
1204 | - case decode | ||
1205 | - case `internal` | ||
1206 | - case unsupportedAlgorithm | ||
1207 | - case unsupportedOperation | ||
1208 | - case unsupportedPadding | ||
1209 | - case itemInvalidKey | ||
1210 | - case itemInvalidKeyType | ||
1211 | - case itemInvalidValue | ||
1212 | - case itemClassMissing | ||
1213 | - case itemMatchUnsupported | ||
1214 | - case useItemListUnsupported | ||
1215 | - case useKeychainUnsupported | ||
1216 | - case useKeychainListUnsupported | ||
1217 | - case returnDataUnsupported | ||
1218 | - case returnAttributesUnsupported | ||
1219 | - case returnRefUnsupported | ||
1220 | - case returnPersitentRefUnsupported | ||
1221 | - case valueRefUnsupported | ||
1222 | - case valuePersistentRefUnsupported | ||
1223 | - case returnMissingPointer | ||
1224 | - case matchLimitUnsupported | ||
1225 | - case itemIllegalQuery | ||
1226 | - case waitForCallback | ||
1227 | - case missingEntitlement | ||
1228 | - case upgradePending | ||
1229 | - case mpSignatureInvalid | ||
1230 | - case otrTooOld | ||
1231 | - case otrIDTooNew | ||
1232 | - case serviceNotAvailable | ||
1233 | - case insufficientClientID | ||
1234 | - case deviceReset | ||
1235 | - case deviceFailed | ||
1236 | - case appleAddAppACLSubject | ||
1237 | - case applePublicKeyIncomplete | ||
1238 | - case appleSignatureMismatch | ||
1239 | - case appleInvalidKeyStartDate | ||
1240 | - case appleInvalidKeyEndDate | ||
1241 | - case conversionError | ||
1242 | - case appleSSLv2Rollback | ||
1243 | - case quotaExceeded | ||
1244 | - case fileTooBig | ||
1245 | - case invalidDatabaseBlob | ||
1246 | - case invalidKeyBlob | ||
1247 | - case incompatibleDatabaseBlob | ||
1248 | - case incompatibleKeyBlob | ||
1249 | - case hostNameMismatch | ||
1250 | - case unknownCriticalExtensionFlag | ||
1251 | - case noBasicConstraints | ||
1252 | - case noBasicConstraintsCA | ||
1253 | - case invalidAuthorityKeyID | ||
1254 | - case invalidSubjectKeyID | ||
1255 | - case invalidKeyUsageForPolicy | ||
1256 | - case invalidExtendedKeyUsage | ||
1257 | - case invalidIDLinkage | ||
1258 | - case pathLengthConstraintExceeded | ||
1259 | - case invalidRoot | ||
1260 | - case crlExpired | ||
1261 | - case crlNotValidYet | ||
1262 | - case crlNotFound | ||
1263 | - case crlServerDown | ||
1264 | - case crlBadURI | ||
1265 | - case unknownCertExtension | ||
1266 | - case unknownCRLExtension | ||
1267 | - case crlNotTrusted | ||
1268 | - case crlPolicyFailed | ||
1269 | - case idpFailure | ||
1270 | - case smimeEmailAddressesNotFound | ||
1271 | - case smimeBadExtendedKeyUsage | ||
1272 | - case smimeBadKeyUsage | ||
1273 | - case smimeKeyUsageNotCritical | ||
1274 | - case smimeNoEmailAddress | ||
1275 | - case smimeSubjAltNameNotCritical | ||
1276 | - case sslBadExtendedKeyUsage | ||
1277 | - case ocspBadResponse | ||
1278 | - case ocspBadRequest | ||
1279 | - case ocspUnavailable | ||
1280 | - case ocspStatusUnrecognized | ||
1281 | - case endOfData | ||
1282 | - case incompleteCertRevocationCheck | ||
1283 | - case networkFailure | ||
1284 | - case ocspNotTrustedToAnchor | ||
1285 | - case recordModified | ||
1286 | - case ocspSignatureError | ||
1287 | - case ocspNoSigner | ||
1288 | - case ocspResponderMalformedReq | ||
1289 | - case ocspResponderInternalError | ||
1290 | - case ocspResponderTryLater | ||
1291 | - case ocspResponderSignatureRequired | ||
1292 | - case ocspResponderUnauthorized | ||
1293 | - case ocspResponseNonceMismatch | ||
1294 | - case codeSigningBadCertChainLength | ||
1295 | - case codeSigningNoBasicConstraints | ||
1296 | - case codeSigningBadPathLengthConstraint | ||
1297 | - case codeSigningNoExtendedKeyUsage | ||
1298 | - case codeSigningDevelopment | ||
1299 | - case resourceSignBadCertChainLength | ||
1300 | - case resourceSignBadExtKeyUsage | ||
1301 | - case trustSettingDeny | ||
1302 | - case invalidSubjectName | ||
1303 | - case unknownQualifiedCertStatement | ||
1304 | - case mobileMeRequestQueued | ||
1305 | - case mobileMeRequestRedirected | ||
1306 | - case mobileMeServerError | ||
1307 | - case mobileMeServerNotAvailable | ||
1308 | - case mobileMeServerAlreadyExists | ||
1309 | - case mobileMeServerServiceErr | ||
1310 | - case mobileMeRequestAlreadyPending | ||
1311 | - case mobileMeNoRequestPending | ||
1312 | - case mobileMeCSRVerifyFailure | ||
1313 | - case mobileMeFailedConsistencyCheck | ||
1314 | - case notInitialized | ||
1315 | - case invalidHandleUsage | ||
1316 | - case pvcReferentNotFound | ||
1317 | - case functionIntegrityFail | ||
1318 | - case internalError | ||
1319 | - case memoryError | ||
1320 | - case invalidData | ||
1321 | - case mdsError | ||
1322 | - case invalidPointer | ||
1323 | - case selfCheckFailed | ||
1324 | - case functionFailed | ||
1325 | - case moduleManifestVerifyFailed | ||
1326 | - case invalidGUID | ||
1327 | - case invalidHandle | ||
1328 | - case invalidDBList | ||
1329 | - case invalidPassthroughID | ||
1330 | - case invalidNetworkAddress | ||
1331 | - case crlAlreadySigned | ||
1332 | - case invalidNumberOfFields | ||
1333 | - case verificationFailure | ||
1334 | - case unknownTag | ||
1335 | - case invalidSignature | ||
1336 | - case invalidName | ||
1337 | - case invalidCertificateRef | ||
1338 | - case invalidCertificateGroup | ||
1339 | - case tagNotFound | ||
1340 | - case invalidQuery | ||
1341 | - case invalidValue | ||
1342 | - case callbackFailed | ||
1343 | - case aclDeleteFailed | ||
1344 | - case aclReplaceFailed | ||
1345 | - case aclAddFailed | ||
1346 | - case aclChangeFailed | ||
1347 | - case invalidAccessCredentials | ||
1348 | - case invalidRecord | ||
1349 | - case invalidACL | ||
1350 | - case invalidSampleValue | ||
1351 | - case incompatibleVersion | ||
1352 | - case privilegeNotGranted | ||
1353 | - case invalidScope | ||
1354 | - case pvcAlreadyConfigured | ||
1355 | - case invalidPVC | ||
1356 | - case emmLoadFailed | ||
1357 | - case emmUnloadFailed | ||
1358 | - case addinLoadFailed | ||
1359 | - case invalidKeyRef | ||
1360 | - case invalidKeyHierarchy | ||
1361 | - case addinUnloadFailed | ||
1362 | - case libraryReferenceNotFound | ||
1363 | - case invalidAddinFunctionTable | ||
1364 | - case invalidServiceMask | ||
1365 | - case moduleNotLoaded | ||
1366 | - case invalidSubServiceID | ||
1367 | - case attributeNotInContext | ||
1368 | - case moduleManagerInitializeFailed | ||
1369 | - case moduleManagerNotFound | ||
1370 | - case eventNotificationCallbackNotFound | ||
1371 | - case inputLengthError | ||
1372 | - case outputLengthError | ||
1373 | - case privilegeNotSupported | ||
1374 | - case deviceError | ||
1375 | - case attachHandleBusy | ||
1376 | - case notLoggedIn | ||
1377 | - case algorithmMismatch | ||
1378 | - case keyUsageIncorrect | ||
1379 | - case keyBlobTypeIncorrect | ||
1380 | - case keyHeaderInconsistent | ||
1381 | - case unsupportedKeyFormat | ||
1382 | - case unsupportedKeySize | ||
1383 | - case invalidKeyUsageMask | ||
1384 | - case unsupportedKeyUsageMask | ||
1385 | - case invalidKeyAttributeMask | ||
1386 | - case unsupportedKeyAttributeMask | ||
1387 | - case invalidKeyLabel | ||
1388 | - case unsupportedKeyLabel | ||
1389 | - case invalidKeyFormat | ||
1390 | - case unsupportedVectorOfBuffers | ||
1391 | - case invalidInputVector | ||
1392 | - case invalidOutputVector | ||
1393 | - case invalidContext | ||
1394 | - case invalidAlgorithm | ||
1395 | - case invalidAttributeKey | ||
1396 | - case missingAttributeKey | ||
1397 | - case invalidAttributeInitVector | ||
1398 | - case missingAttributeInitVector | ||
1399 | - case invalidAttributeSalt | ||
1400 | - case missingAttributeSalt | ||
1401 | - case invalidAttributePadding | ||
1402 | - case missingAttributePadding | ||
1403 | - case invalidAttributeRandom | ||
1404 | - case missingAttributeRandom | ||
1405 | - case invalidAttributeSeed | ||
1406 | - case missingAttributeSeed | ||
1407 | - case invalidAttributePassphrase | ||
1408 | - case missingAttributePassphrase | ||
1409 | - case invalidAttributeKeyLength | ||
1410 | - case missingAttributeKeyLength | ||
1411 | - case invalidAttributeBlockSize | ||
1412 | - case missingAttributeBlockSize | ||
1413 | - case invalidAttributeOutputSize | ||
1414 | - case missingAttributeOutputSize | ||
1415 | - case invalidAttributeRounds | ||
1416 | - case missingAttributeRounds | ||
1417 | - case invalidAlgorithmParms | ||
1418 | - case missingAlgorithmParms | ||
1419 | - case invalidAttributeLabel | ||
1420 | - case missingAttributeLabel | ||
1421 | - case invalidAttributeKeyType | ||
1422 | - case missingAttributeKeyType | ||
1423 | - case invalidAttributeMode | ||
1424 | - case missingAttributeMode | ||
1425 | - case invalidAttributeEffectiveBits | ||
1426 | - case missingAttributeEffectiveBits | ||
1427 | - case invalidAttributeStartDate | ||
1428 | - case missingAttributeStartDate | ||
1429 | - case invalidAttributeEndDate | ||
1430 | - case missingAttributeEndDate | ||
1431 | - case invalidAttributeVersion | ||
1432 | - case missingAttributeVersion | ||
1433 | - case invalidAttributePrime | ||
1434 | - case missingAttributePrime | ||
1435 | - case invalidAttributeBase | ||
1436 | - case missingAttributeBase | ||
1437 | - case invalidAttributeSubprime | ||
1438 | - case missingAttributeSubprime | ||
1439 | - case invalidAttributeIterationCount | ||
1440 | - case missingAttributeIterationCount | ||
1441 | - case invalidAttributeDLDBHandle | ||
1442 | - case missingAttributeDLDBHandle | ||
1443 | - case invalidAttributeAccessCredentials | ||
1444 | - case missingAttributeAccessCredentials | ||
1445 | - case invalidAttributePublicKeyFormat | ||
1446 | - case missingAttributePublicKeyFormat | ||
1447 | - case invalidAttributePrivateKeyFormat | ||
1448 | - case missingAttributePrivateKeyFormat | ||
1449 | - case invalidAttributeSymmetricKeyFormat | ||
1450 | - case missingAttributeSymmetricKeyFormat | ||
1451 | - case invalidAttributeWrappedKeyFormat | ||
1452 | - case missingAttributeWrappedKeyFormat | ||
1453 | - case stagedOperationInProgress | ||
1454 | - case stagedOperationNotStarted | ||
1455 | - case verifyFailed | ||
1456 | - case querySizeUnknown | ||
1457 | - case blockSizeMismatch | ||
1458 | - case publicKeyInconsistent | ||
1459 | - case deviceVerifyFailed | ||
1460 | - case invalidLoginName | ||
1461 | - case alreadyLoggedIn | ||
1462 | - case invalidDigestAlgorithm | ||
1463 | - case invalidCRLGroup | ||
1464 | - case certificateCannotOperate | ||
1465 | - case certificateExpired | ||
1466 | - case certificateNotValidYet | ||
1467 | - case certificateRevoked | ||
1468 | - case certificateSuspended | ||
1469 | - case insufficientCredentials | ||
1470 | - case invalidAction | ||
1471 | - case invalidAuthority | ||
1472 | - case verifyActionFailed | ||
1473 | - case invalidCertAuthority | ||
1474 | - case invaldCRLAuthority | ||
1475 | - case invalidCRLEncoding | ||
1476 | - case invalidCRLType | ||
1477 | - case invalidCRL | ||
1478 | - case invalidFormType | ||
1479 | - case invalidID | ||
1480 | - case invalidIdentifier | ||
1481 | - case invalidIndex | ||
1482 | - case invalidPolicyIdentifiers | ||
1483 | - case invalidTimeString | ||
1484 | - case invalidReason | ||
1485 | - case invalidRequestInputs | ||
1486 | - case invalidResponseVector | ||
1487 | - case invalidStopOnPolicy | ||
1488 | - case invalidTuple | ||
1489 | - case multipleValuesUnsupported | ||
1490 | - case notTrusted | ||
1491 | - case noDefaultAuthority | ||
1492 | - case rejectedForm | ||
1493 | - case requestLost | ||
1494 | - case requestRejected | ||
1495 | - case unsupportedAddressType | ||
1496 | - case unsupportedService | ||
1497 | - case invalidTupleGroup | ||
1498 | - case invalidBaseACLs | ||
1499 | - case invalidTupleCredendtials | ||
1500 | - case invalidEncoding | ||
1501 | - case invalidValidityPeriod | ||
1502 | - case invalidRequestor | ||
1503 | - case requestDescriptor | ||
1504 | - case invalidBundleInfo | ||
1505 | - case invalidCRLIndex | ||
1506 | - case noFieldValues | ||
1507 | - case unsupportedFieldFormat | ||
1508 | - case unsupportedIndexInfo | ||
1509 | - case unsupportedLocality | ||
1510 | - case unsupportedNumAttributes | ||
1511 | - case unsupportedNumIndexes | ||
1512 | - case unsupportedNumRecordTypes | ||
1513 | - case fieldSpecifiedMultiple | ||
1514 | - case incompatibleFieldFormat | ||
1515 | - case invalidParsingModule | ||
1516 | - case databaseLocked | ||
1517 | - case datastoreIsOpen | ||
1518 | - case missingValue | ||
1519 | - case unsupportedQueryLimits | ||
1520 | - case unsupportedNumSelectionPreds | ||
1521 | - case unsupportedOperator | ||
1522 | - case invalidDBLocation | ||
1523 | - case invalidAccessRequest | ||
1524 | - case invalidIndexInfo | ||
1525 | - case invalidNewOwner | ||
1526 | - case invalidModifyMode | ||
1527 | - case missingRequiredExtension | ||
1528 | - case extendedKeyUsageNotCritical | ||
1529 | - case timestampMissing | ||
1530 | - case timestampInvalid | ||
1531 | - case timestampNotTrusted | ||
1532 | - case timestampServiceNotAvailable | ||
1533 | - case timestampBadAlg | ||
1534 | - case timestampBadRequest | ||
1535 | - case timestampBadDataFormat | ||
1536 | - case timestampTimeNotAvailable | ||
1537 | - case timestampUnacceptedPolicy | ||
1538 | - case timestampUnacceptedExtension | ||
1539 | - case timestampAddInfoNotAvailable | ||
1540 | - case timestampSystemFailure | ||
1541 | - case signingTimeMissing | ||
1542 | - case timestampRejection | ||
1543 | - case timestampWaiting | ||
1544 | - case timestampRevocationWarning | ||
1545 | - case timestampRevocationNotification | ||
1546 | - case unexpectedError | ||
1547 | -} | ||
1548 | -extension Status : Swift.RawRepresentable, Swift.CustomStringConvertible { | ||
1549 | - public init(status: Darwin.OSStatus) | ||
1550 | - public var description: Swift.String { | ||
1551 | - get | ||
1552 | - } | ||
1553 | - public typealias RawValue = Darwin.OSStatus | ||
1554 | - public init?(rawValue: Darwin.OSStatus) | ||
1555 | - public var rawValue: Darwin.OSStatus { | ||
1556 | - get | ||
1557 | - } | ||
1558 | -} | ||
1559 | -extension Status : Foundation.CustomNSError { | ||
1560 | - public static let errorDomain: Swift.String | ||
1561 | - public var errorCode: Swift.Int { | ||
1562 | - get | ||
1563 | - } | ||
1564 | - public var errorUserInfo: [Swift.String : Any] { | ||
1565 | - get | ||
1566 | - } | ||
1567 | -} | ||
1568 | -@_hasMissingDesignatedInitializers public class LoginManager { | ||
1569 | - public static let `default`: hhVDoctorSDK.LoginManager | ||
1570 | - public var mUUID: Swift.Int? | ||
1571 | - public func userName() -> Swift.String | ||
1572 | - public func convert2Model() -> Swift.String? | ||
1573 | - public func getUserInfo() -> hhVDoctorSDK.HHUserModel? | ||
1574 | - public func hasLoginData() -> Swift.Bool | ||
1575 | - public func getUserInfo(token: Swift.String, success: ((Swift.String?) -> Swift.Void)? = nil, fail: ((Swift.String) -> Swift.Void)? = nil) | ||
1576 | - public func getUserInfoRequest(success: ((Swift.String?) -> Swift.Void)? = nil, fail: ((Swift.String) -> Swift.Void)? = nil) | ||
1577 | - @objc deinit | ||
1578 | -} | ||
1579 | -@_hasMissingDesignatedInitializers final public class Map { | ||
1580 | - final public subscript(key: Swift.String) -> hhVDoctorSDK.Map { | ||
1581 | - get | ||
1582 | - } | ||
1583 | - final public subscript(key: Swift.String, delimiter delimiter: Swift.String) -> hhVDoctorSDK.Map { | ||
1584 | - get | ||
1585 | - } | ||
1586 | - final public subscript(key: Swift.String, nested nested: Swift.Bool) -> hhVDoctorSDK.Map { | ||
1587 | - get | ||
1588 | - } | ||
1589 | - final public subscript(key: Swift.String, nested nested: Swift.Bool, delimiter delimiter: Swift.String) -> hhVDoctorSDK.Map { | ||
1590 | - get | ||
1591 | - } | ||
1592 | - final public subscript(key: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map { | ||
1593 | - get | ||
1594 | - } | ||
1595 | - final public subscript(key: Swift.String, delimiter delimiter: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map { | ||
1596 | - get | ||
1597 | - } | ||
1598 | - final public subscript(key: Swift.String, nested nested: Swift.Bool, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map { | ||
1599 | - get | ||
1600 | - } | ||
1601 | - final public subscript(key: Swift.String, nested nested: Swift.Bool?, delimiter delimiter: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> hhVDoctorSDK.Map { | ||
1602 | - get | ||
1603 | - } | ||
1604 | - @objc deinit | ||
1605 | -} | ||
1606 | -public protocol BaseMappable { | ||
1607 | - mutating func mapping(map: hhVDoctorSDK.Map) | ||
1608 | -} | ||
1609 | -public protocol Mappable : hhVDoctorSDK.BaseMappable { | ||
1610 | - init?(map: hhVDoctorSDK.Map) | ||
1611 | -} | ||
1612 | -final public class MD5 { | ||
1613 | - public init() | ||
1614 | - final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
1615 | - @objc deinit | ||
1616 | -} | ||
1617 | -extension MD5 : hhVDoctorSDK.Updatable { | ||
1618 | - final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> | ||
1619 | -} | ||
1620 | -public protocol SDKRequest : hhVDoctorSDK.HHRequestConfig { | ||
1621 | -} | ||
1622 | -infix operator <- : DefaultPrecedence | ||
1623 | -infix operator >>> : DefaultPrecedence | ||
1624 | -public func <- <T>(left: inout T, right: hhVDoctorSDK.Map) | ||
1625 | -public func >>> <T>(left: T, right: hhVDoctorSDK.Map) | ||
1626 | -public func <- <T>(left: inout T?, right: hhVDoctorSDK.Map) | ||
1627 | -public func >>> <T>(left: T?, right: hhVDoctorSDK.Map) | ||
1628 | -public func <- <T>(left: inout T, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1629 | -public func >>> <T>(left: T, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1630 | -public func <- <T>(left: inout T?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1631 | -public func >>> <T>(left: T?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1632 | -public func <- <T>(left: inout Swift.Dictionary<Swift.String, T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1633 | -public func >>> <T>(left: Swift.Dictionary<Swift.String, T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1634 | -public func <- <T>(left: inout Swift.Dictionary<Swift.String, T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1635 | -public func >>> <T>(left: Swift.Dictionary<Swift.String, T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1636 | -public func <- <T>(left: inout Swift.Dictionary<Swift.String, [T]>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1637 | -public func >>> <T>(left: Swift.Dictionary<Swift.String, [T]>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1638 | -public func <- <T>(left: inout Swift.Dictionary<Swift.String, [T]>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1639 | -public func >>> <T>(left: Swift.Dictionary<Swift.String, [T]>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1640 | -public func <- <T>(left: inout Swift.Array<T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1641 | -public func >>> <T>(left: Swift.Array<T>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1642 | -public func <- <T>(left: inout Swift.Array<T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1643 | -public func >>> <T>(left: Swift.Array<T>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1644 | -public func <- <T>(left: inout Swift.Array<Swift.Array<T>>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1645 | -public func >>> <T>(left: Swift.Array<Swift.Array<T>>, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1646 | -public func <- <T>(left: inout Swift.Array<Swift.Array<T>>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1647 | -public func >>> <T>(left: Swift.Array<Swift.Array<T>>?, right: hhVDoctorSDK.Map) where T : hhVDoctorSDK.BaseMappable | ||
1648 | -public func <- <T>(left: inout Swift.Set<T>, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable | ||
1649 | -public func >>> <T>(left: Swift.Set<T>, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable | ||
1650 | -public func <- <T>(left: inout Swift.Set<T>?, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable | ||
1651 | -public func >>> <T>(left: Swift.Set<T>?, right: hhVDoctorSDK.Map) where T : Swift.Hashable, T : hhVDoctorSDK.BaseMappable | ||
1652 | -public protocol PaddingProtocol { | ||
1653 | - func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8> | ||
1654 | - func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8> | ||
1655 | -} | ||
1656 | -public enum Padding : hhVDoctorSDK.PaddingProtocol { | ||
1657 | - case noPadding, zeroPadding, pkcs7, pkcs5 | ||
1658 | - public func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8> | ||
1659 | - public func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8> | ||
1660 | - public static func == (a: hhVDoctorSDK.Padding, b: hhVDoctorSDK.Padding) -> Swift.Bool | ||
1661 | - public var hashValue: Swift.Int { | ||
1662 | - get | ||
1663 | - } | ||
1664 | - public func hash(into hasher: inout Swift.Hasher) | ||
1665 | -} | ||
1666 | -extension PKCS5 { | ||
1667 | - public struct PBKDF1 { | ||
1668 | - public enum Error : Swift.Error { | ||
1669 | - case invalidInput | ||
1670 | - case derivedKeyTooLong | ||
1671 | - public static func == (a: hhVDoctorSDK.PKCS5.PBKDF1.Error, b: hhVDoctorSDK.PKCS5.PBKDF1.Error) -> Swift.Bool | ||
1672 | - public var hashValue: Swift.Int { | ||
1673 | - get | ||
1674 | - } | ||
1675 | - public func hash(into hasher: inout Swift.Hasher) | ||
1676 | - } | ||
1677 | - public enum Variant { | ||
1678 | - case md5, sha1 | ||
1679 | - public static func == (a: hhVDoctorSDK.PKCS5.PBKDF1.Variant, b: hhVDoctorSDK.PKCS5.PBKDF1.Variant) -> Swift.Bool | ||
1680 | - public var hashValue: Swift.Int { | ||
1681 | - get | ||
1682 | - } | ||
1683 | - public func hash(into hasher: inout Swift.Hasher) | ||
1684 | - } | ||
1685 | - 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 | ||
1686 | - public func calculate() -> Swift.Array<Swift.UInt8> | ||
1687 | - } | ||
1688 | -} | ||
1689 | -extension PKCS5 { | ||
1690 | - public struct PBKDF2 { | ||
1691 | - public enum Error : Swift.Error { | ||
1692 | - case invalidInput | ||
1693 | - case derivedKeyTooLong | ||
1694 | - public static func == (a: hhVDoctorSDK.PKCS5.PBKDF2.Error, b: hhVDoctorSDK.PKCS5.PBKDF2.Error) -> Swift.Bool | ||
1695 | - public var hashValue: Swift.Int { | ||
1696 | - get | ||
1697 | - } | ||
1698 | - public func hash(into hasher: inout Swift.Hasher) | ||
1699 | - } | ||
1700 | - 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 | ||
1701 | - public func calculate() throws -> Swift.Array<Swift.UInt8> | ||
1702 | - } | ||
1703 | -} | ||
1704 | -@objc public enum PermissionType : Swift.Int { | ||
1705 | - case locationAlways | ||
1706 | - case locationWhenInUse | ||
1707 | - case microphone | ||
1708 | - case camera | ||
1709 | - case photos | ||
1710 | - public typealias RawValue = Swift.Int | ||
1711 | - public init?(rawValue: Swift.Int) | ||
1712 | - public var rawValue: Swift.Int { | ||
1713 | - get | ||
1714 | - } | ||
1715 | -} | ||
1716 | -extension PermissionType : Swift.CustomStringConvertible { | ||
1717 | - public var description: Swift.String { | ||
1718 | - get | ||
1719 | - } | ||
1720 | -} | ||
1721 | -@_hasMissingDesignatedInitializers public class PhotoPicker { | ||
1722 | - public static func openCamera(config: hhVDoctorSDK.HHCameraConfig, capFinished: hhVDoctorSDK.onCapFinished? = nil) | ||
1723 | - public static func reduceImages(paths: [Swift.String], finished: @escaping (([Swift.String]) -> Swift.Void)) | ||
1724 | - 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) | ||
1725 | - @objc deinit | ||
1726 | -} | ||
1727 | -extension PhotoPicker { | ||
1728 | - public static func checkPermisstion(_ type: hhVDoctorSDK.PermissionType, authorized: (() -> Swift.Void)?, others: ((hhVDoctorSDK.PermissionType) -> Swift.Void)?) | ||
1729 | - public static func converSize(_ size: CoreGraphics.CGSize) -> CoreGraphics.CGSize | ||
1730 | -} | ||
1731 | -@_hasMissingDesignatedInitializers public class PhotoPickerConfig { | ||
1732 | - public static let `default`: hhVDoctorSDK.PhotoPickerConfig | ||
1733 | - public var miniPicTip: Swift.Bool | ||
1734 | - public var mMaxSelectCount: Swift.Int | ||
1735 | - public var mDetailColumnCount: Swift.Int | ||
1736 | - @objc deinit | ||
1737 | -} | ||
1738 | -public enum PKCS5 { | ||
1739 | -} | ||
1740 | -public enum PKCS7 { | ||
1741 | -} | ||
1742 | -final public class Poly1305 : hhVDoctorSDK.Authenticator { | ||
1743 | - public enum Error : Swift.Error { | ||
1744 | - case authenticateError | ||
1745 | - public static func == (a: hhVDoctorSDK.Poly1305.Error, b: hhVDoctorSDK.Poly1305.Error) -> Swift.Bool | ||
1746 | - public var hashValue: Swift.Int { | ||
1747 | - get | ||
1748 | - } | ||
1749 | - public func hash(into hasher: inout Swift.Hasher) | ||
1750 | - } | ||
1751 | - public static let blockSize: Swift.Int | ||
1752 | - public init(key: Swift.Array<Swift.UInt8>) | ||
1753 | - final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
1754 | - @objc deinit | ||
1755 | -} | ||
1756 | -extension Rabbit { | ||
1757 | - convenience public init(key: Swift.String) throws | ||
1758 | - convenience public init(key: Swift.String, iv: Swift.String) throws | ||
1759 | -} | ||
1760 | -final public class Rabbit { | ||
1761 | - public enum Error : Swift.Error { | ||
1762 | - case invalidKeyOrInitializationVector | ||
1763 | - public static func == (a: hhVDoctorSDK.Rabbit.Error, b: hhVDoctorSDK.Rabbit.Error) -> Swift.Bool | ||
1764 | - public var hashValue: Swift.Int { | ||
1765 | - get | ||
1766 | - } | ||
1767 | - public func hash(into hasher: inout Swift.Hasher) | ||
1768 | - } | ||
1769 | - public static let ivSize: Swift.Int | ||
1770 | - public static let keySize: Swift.Int | ||
1771 | - public static let blockSize: Swift.Int | ||
1772 | - final public var keySize: Swift.Int { | ||
1773 | - get | ||
1774 | - } | ||
1775 | - convenience public init(key: Swift.Array<Swift.UInt8>) throws | ||
1776 | - public init(key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>?) throws | ||
1777 | - @objc deinit | ||
1778 | -} | ||
1779 | -extension Rabbit : hhVDoctorSDK.Cipher { | ||
1780 | - final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
1781 | - final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
1782 | -} | ||
1783 | -public protocol RandomAccessCryptor : hhVDoctorSDK.Updatable { | ||
1784 | - @discardableResult | ||
1785 | - mutating func seek(to: Swift.Int) -> Swift.Bool | ||
1786 | -} | ||
1787 | -public enum ReachabilityError : Swift.Error { | ||
1788 | - case FailedToCreateWithAddress(Darwin.sockaddr_in) | ||
1789 | - case FailedToCreateWithHostname(Swift.String) | ||
1790 | - case UnableToSetCallback | ||
1791 | - case UnableToSetDispatchQueue | ||
1792 | -} | ||
1793 | -public let ReachabilityChangedNotification: Foundation.NSNotification.Name | ||
1794 | -public class Reachability { | ||
1795 | - public typealias NetworkReachable = (hhVDoctorSDK.Reachability) -> () | ||
1796 | - public typealias NetworkUnreachable = (hhVDoctorSDK.Reachability) -> () | ||
1797 | - public enum NetworkStatus : Swift.CustomStringConvertible { | ||
1798 | - case notReachable, reachableViaWiFi, reachableViaWWAN | ||
1799 | - public var description: Swift.String { | ||
1800 | - get | ||
1801 | - } | ||
1802 | - public static func == (a: hhVDoctorSDK.Reachability.NetworkStatus, b: hhVDoctorSDK.Reachability.NetworkStatus) -> Swift.Bool | ||
1803 | - public var hashValue: Swift.Int { | ||
1804 | - get | ||
1805 | - } | ||
1806 | - public func hash(into hasher: inout Swift.Hasher) | ||
1807 | - } | ||
1808 | - public var whenReachable: hhVDoctorSDK.Reachability.NetworkReachable? | ||
1809 | - public var whenUnreachable: hhVDoctorSDK.Reachability.NetworkUnreachable? | ||
1810 | - public var reachableOnWWAN: Swift.Bool | ||
1811 | - public var currentReachabilityString: Swift.String { | ||
1812 | - get | ||
1813 | - } | ||
1814 | - public var currentReachabilityStatus: hhVDoctorSDK.Reachability.NetworkStatus { | ||
1815 | - get | ||
1816 | - } | ||
1817 | - required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability) | ||
1818 | - convenience public init?(hostname: Swift.String) | ||
1819 | - convenience public init?() | ||
1820 | - @objc deinit | ||
1821 | -} | ||
1822 | -extension Reachability { | ||
1823 | - public func startNotifier() throws | ||
1824 | - public func stopNotifier() | ||
1825 | - public var isReachable: Swift.Bool { | ||
1826 | - get | ||
1827 | - } | ||
1828 | - public var isReachableViaWWAN: Swift.Bool { | ||
1829 | - get | ||
1830 | - } | ||
1831 | - public var isReachableViaWiFi: Swift.Bool { | ||
1832 | - get | ||
1833 | - } | ||
1834 | - public var description: Swift.String { | ||
1835 | - get | ||
1836 | - } | ||
1837 | -} | ||
1838 | -final public class SHA1 { | ||
1839 | - public init() | ||
1840 | - final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
1841 | - @objc deinit | ||
1842 | -} | ||
1843 | -extension SHA1 : hhVDoctorSDK.Updatable { | ||
1844 | - @discardableResult | ||
1845 | - final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> | ||
1846 | -} | ||
1847 | -final public class SHA2 { | ||
1848 | - public enum Variant : Swift.RawRepresentable { | ||
1849 | - case sha224, sha256, sha384, sha512 | ||
1850 | - public var digestLength: Swift.Int { | ||
1851 | - get | ||
1852 | - } | ||
1853 | - public var blockSize: Swift.Int { | ||
1854 | - get | ||
1855 | - } | ||
1856 | - public typealias RawValue = Swift.Int | ||
1857 | - public var rawValue: hhVDoctorSDK.SHA2.Variant.RawValue { | ||
1858 | - get | ||
1859 | - } | ||
1860 | - public init?(rawValue: hhVDoctorSDK.SHA2.Variant.RawValue) | ||
1861 | - } | ||
1862 | - public init(variant: hhVDoctorSDK.SHA2.Variant) | ||
1863 | - final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
1864 | - @objc deinit | ||
1865 | -} | ||
1866 | -extension SHA2 : hhVDoctorSDK.Updatable { | ||
1867 | - final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> | ||
1868 | -} | ||
1869 | -final public class SHA3 { | ||
1870 | - final public let blockSize: Swift.Int | ||
1871 | - final public let digestLength: Swift.Int | ||
1872 | - final public let markByte: Swift.UInt8 | ||
1873 | - public enum Variant { | ||
1874 | - case sha224, sha256, sha384, sha512, keccak224, keccak256, keccak384, keccak512 | ||
1875 | - public var outputLength: Swift.Int { | ||
1876 | - get | ||
1877 | - } | ||
1878 | - public static func == (a: hhVDoctorSDK.SHA3.Variant, b: hhVDoctorSDK.SHA3.Variant) -> Swift.Bool | ||
1879 | - public var hashValue: Swift.Int { | ||
1880 | - get | ||
1881 | - } | ||
1882 | - public func hash(into hasher: inout Swift.Hasher) | ||
1883 | - } | ||
1884 | - public init(variant: hhVDoctorSDK.SHA3.Variant) | ||
1885 | - final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8> | ||
1886 | - @objc deinit | ||
1887 | -} | ||
1888 | -extension SHA3 : hhVDoctorSDK.Updatable { | ||
1889 | - final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> | ||
1890 | -} | ||
1891 | -extension String { | ||
1892 | - public var bytes: Swift.Array<Swift.UInt8> { | ||
1893 | - get | ||
1894 | - } | ||
1895 | - public func md5() -> Swift.String | ||
1896 | - public func sha1() -> Swift.String | ||
1897 | - public func sha224() -> Swift.String | ||
1898 | - public func sha256() -> Swift.String | ||
1899 | - public func sha384() -> Swift.String | ||
1900 | - public func sha512() -> Swift.String | ||
1901 | - public func sha3(_ variant: hhVDoctorSDK.SHA3.Variant) -> Swift.String | ||
1902 | - public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.String | ||
1903 | - public func crc16(seed: Swift.UInt16? = nil) -> Swift.String | ||
1904 | - public func encrypt(cipher: hhVDoctorSDK.Cipher) throws -> Swift.String | ||
1905 | - public func encryptToBase64(cipher: hhVDoctorSDK.Cipher) throws -> Swift.String? | ||
1906 | - public func authenticate<A>(with authenticator: A) throws -> Swift.String where A : hhVDoctorSDK.Authenticator | ||
1907 | -} | ||
1908 | -extension String { | ||
1909 | - public func decryptBase64ToString(cipher: hhVDoctorSDK.Cipher) throws -> Swift.String | ||
1910 | - public func decryptBase64(cipher: hhVDoctorSDK.Cipher) throws -> Swift.Array<Swift.UInt8> | ||
1911 | -} | ||
1912 | -public enum hhToastPosition { | ||
1913 | - case top | ||
1914 | - case center | ||
1915 | - case bottom | ||
1916 | - public static func == (a: hhVDoctorSDK.hhToastPosition, b: hhVDoctorSDK.hhToastPosition) -> Swift.Bool | ||
1917 | - public var hashValue: Swift.Int { | ||
1918 | - get | ||
1919 | - } | ||
1920 | - public func hash(into hasher: inout Swift.Hasher) | ||
1921 | -} | ||
1922 | -extension UIView { | ||
1923 | - public func hhmakeToast(_ message: Swift.String) | ||
1924 | - public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition) | ||
1925 | - public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint) | ||
1926 | - public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition, style: hhVDoctorSDK.hhToastStyle?) | ||
1927 | - public func hhmakeToast(_ message: Swift.String, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint, style: hhVDoctorSDK.hhToastStyle?) | ||
1928 | - 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)?) | ||
1929 | - 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)?) | ||
1930 | - public func hhshowToast(_ toast: UIKit.UIView) | ||
1931 | - public func hhshowToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval, position: hhVDoctorSDK.hhToastPosition, completion: ((Swift.Bool) -> Swift.Void)?) | ||
1932 | - public func hhshowToast(_ toast: UIKit.UIView, duration: Foundation.TimeInterval, position: CoreGraphics.CGPoint, completion: ((Swift.Bool) -> Swift.Void)?) | ||
1933 | - public func hhmakeToastActivity(_ position: hhVDoctorSDK.hhToastPosition) | ||
1934 | - public func hhmakeToastActivity(_ position: CoreGraphics.CGPoint) | ||
1935 | - public func hhhideToastActivity() | ||
1936 | - @objc dynamic public func hhhandleToastTapped(_ recognizer: UIKit.UITapGestureRecognizer) | ||
1937 | - @objc dynamic public func hhtoastTimerDidFinish(_ timer: Foundation.Timer) | ||
1938 | - public func hhtoastViewForMessage(_ message: Swift.String?, title: Swift.String?, image: UIKit.UIImage?, style: hhVDoctorSDK.hhToastStyle) throws -> UIKit.UIView | ||
1939 | -} | ||
1940 | -public struct hhToastStyle { | ||
1941 | - public init() | ||
1942 | - public var backgroundColor: UIKit.UIColor | ||
1943 | - public var titleColor: UIKit.UIColor | ||
1944 | - public var messageColor: UIKit.UIColor | ||
1945 | - public var maxWidthPercentage: CoreGraphics.CGFloat { | ||
1946 | - get | ||
1947 | - set | ||
1948 | - } | ||
1949 | - public var maxHeightPercentage: CoreGraphics.CGFloat { | ||
1950 | - get | ||
1951 | - set | ||
1952 | - } | ||
1953 | - public var horizontalPadding: CoreGraphics.CGFloat | ||
1954 | - public var verticalPadding: CoreGraphics.CGFloat | ||
1955 | - public var cornerRadius: CoreGraphics.CGFloat | ||
1956 | - public var titleFont: UIKit.UIFont | ||
1957 | - public var messageFont: UIKit.UIFont | ||
1958 | - public var titleAlignment: UIKit.NSTextAlignment | ||
1959 | - public var messageAlignment: UIKit.NSTextAlignment | ||
1960 | - public var titleNumberOfLines: Swift.Int | ||
1961 | - public var messageNumberOfLines: Swift.Int | ||
1962 | - public var displayShadow: Swift.Bool | ||
1963 | - public var shadowColor: UIKit.UIColor | ||
1964 | - public var shadowOpacity: Swift.Float { | ||
1965 | - get | ||
1966 | - set | ||
1967 | - } | ||
1968 | - public var shadowRadius: CoreGraphics.CGFloat | ||
1969 | - public var shadowOffset: CoreGraphics.CGSize | ||
1970 | - public var imageSize: CoreGraphics.CGSize | ||
1971 | - public var activitySize: CoreGraphics.CGSize | ||
1972 | - public var fadeDuration: Foundation.TimeInterval | ||
1973 | -} | ||
1974 | -public func <- <Transform>(left: inout Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1975 | -public func >>> <Transform>(left: Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1976 | -public func <- <Transform>(left: inout Transform.Object?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1977 | -public func >>> <Transform>(left: Transform.Object?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1978 | -public func <- <Transform>(left: inout [Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1979 | -public func >>> <Transform>(left: [Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1980 | -public func <- <Transform>(left: inout [Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1981 | -public func >>> <Transform>(left: [Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1982 | -public func <- <Transform>(left: inout [Swift.String : Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1983 | -public func >>> <Transform>(left: [Swift.String : Transform.Object], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1984 | -public func <- <Transform>(left: inout [Swift.String : Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1985 | -public func >>> <Transform>(left: [Swift.String : Transform.Object]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
1986 | -public func <- <Transform>(left: inout Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1987 | -public func >>> <Transform>(left: Transform.Object, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1988 | -public func <- <Transform>(left: inout Transform.Object?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1989 | -public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1990 | -public func >>> <Transform>(left: Swift.Dictionary<Swift.String, Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1991 | -public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1992 | -public func >>> <Transform>(left: Swift.Dictionary<Swift.String, Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1993 | -public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, [Transform.Object]>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1994 | -public func >>> <Transform>(left: Swift.Dictionary<Swift.String, [Transform.Object]>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1995 | -public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, [Transform.Object]>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1996 | -public func >>> <Transform>(left: Swift.Dictionary<Swift.String, [Transform.Object]>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1997 | -public func <- <Transform>(left: inout Swift.Array<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1998 | -public func >>> <Transform>(left: Swift.Array<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
1999 | -public func <- <Transform>(left: inout Swift.Array<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
2000 | -public func >>> <Transform>(left: Swift.Array<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : hhVDoctorSDK.BaseMappable | ||
2001 | -public func <- <Transform>(left: inout [[Transform.Object]], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
2002 | -public func >>> <Transform>(left: [[Transform.Object]], right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
2003 | -public func <- <Transform>(left: inout [[Transform.Object]]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
2004 | -public func >>> <Transform>(left: [[Transform.Object]]?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType | ||
2005 | -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 | ||
2006 | -public func >>> <Transform>(left: Swift.Set<Transform.Object>, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable | ||
2007 | -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 | ||
2008 | -public func >>> <Transform>(left: Swift.Set<Transform.Object>?, right: (hhVDoctorSDK.Map, Transform)) where Transform : hhVDoctorSDK.TransformType, Transform.Object : Swift.Hashable, Transform.Object : hhVDoctorSDK.BaseMappable | ||
2009 | -public protocol TransformType { | ||
2010 | - associatedtype Object | ||
2011 | - associatedtype JSON | ||
2012 | - func transformFromJSON(_ value: Any?) -> Self.Object? | ||
2013 | - func transformToJSON(_ value: Self.Object?) -> Self.JSON? | ||
2014 | -} | ||
2015 | -@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class TRTCManager : ObjectiveC.NSObject { | ||
2016 | - public static let `default`: hhVDoctorSDK.TRTCManager | ||
2017 | - @objc deinit | ||
2018 | -} | ||
2019 | -extension TRTCManager { | ||
2020 | - public func isLogined() -> Swift.Bool | ||
2021 | - public func login(complete: @escaping hhVDoctorSDK.HHLoginHandler) | ||
2022 | -} | ||
2023 | -extension TRTCManager : ImSDK.TIMMessageListener { | ||
2024 | - @objc dynamic public func onNewMessage(_ msgs: [Any]!) | ||
2025 | -} | ||
2026 | -extension TRTCManager : ImSDK.TIMConnListener { | ||
2027 | - @objc dynamic public func onConnSucc() | ||
2028 | - @objc dynamic public func onConnFailed(_ code: Swift.Int32, err: Swift.String!) | ||
2029 | - @objc dynamic public func onDisconnect(_ code: Swift.Int32, err: Swift.String!) | ||
2030 | -} | ||
2031 | -extension TRTCManager : TXLiteAVSDK_TRTC.TRTCCloudDelegate { | ||
2032 | - @objc dynamic public func onEnterRoom(_ result: Swift.Int) | ||
2033 | -} | ||
2034 | -extension TRTCManager : TXLiteAVSDK_TRTC.TRTCLogDelegate { | ||
2035 | - @objc dynamic public func onLog(_ log: Swift.String?, logLevel level: TXLiteAVSDK_TRTC.TRTCLogLevel, whichModule module: Swift.String?) | ||
2036 | -} | ||
2037 | -extension TRTCManager : ImSDK.TIMUserStatusListener { | ||
2038 | - @objc dynamic public func onForceOffline() | ||
2039 | - @objc dynamic public func onReConnFailed(_ code: Swift.Int32, err: Swift.String!) | ||
2040 | - @objc dynamic public func onUserSigExpired() | ||
2041 | -} | ||
2042 | -extension String { | ||
2043 | - public func subFrom(_ index: Swift.Int) -> Swift.String | ||
2044 | -} | ||
2045 | -public protocol _UInt8Type { | ||
2046 | -} | ||
2047 | -extension UInt8 : hhVDoctorSDK._UInt8Type { | ||
2048 | -} | ||
2049 | -extension UInt8 { | ||
2050 | - public func bits() -> [hhVDoctorSDK.Bit] | ||
2051 | - public func bits() -> Swift.String | ||
2052 | -} | ||
2053 | -public protocol Updatable { | ||
2054 | - mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8> | ||
2055 | - mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws | ||
2056 | - mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
2057 | - mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws | ||
2058 | -} | ||
2059 | -extension Updatable { | ||
2060 | - public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws | ||
2061 | - @discardableResult | ||
2062 | - public mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
2063 | - @discardableResult | ||
2064 | - public mutating func finish() throws -> Swift.Array<Swift.UInt8> | ||
2065 | - public mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws | ||
2066 | - public mutating func finish(output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws | ||
2067 | -} | ||
2068 | -extension Updatable { | ||
2069 | - @discardableResult | ||
2070 | - public mutating func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8> | ||
2071 | - public mutating func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws | ||
2072 | - @discardableResult | ||
2073 | - public mutating func finish(withBytes bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8> | ||
2074 | - public mutating func finish(withBytes bytes: Swift.Array<Swift.UInt8>, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws | ||
2075 | -} | ||
2076 | -public typealias onProgress = ((CoreGraphics.CGFloat, Swift.String) -> Swift.Void) | ||
2077 | -public typealias onUploadOnce = ((Swift.Bool, hhVDoctorSDK.HHUploadModel) -> Swift.Void) | ||
2078 | -public typealias onFinished = (() -> Swift.Void) | ||
2079 | -public class HHUploadConfig { | ||
2080 | - public var progress: hhVDoctorSDK.onProgress? | ||
2081 | - public var uploadOnce: hhVDoctorSDK.onUploadOnce? | ||
2082 | - public var finished: hhVDoctorSDK.onFinished? | ||
2083 | - public var orderId: Swift.String? | ||
2084 | - public init() | ||
2085 | - @objc deinit | ||
2086 | -} | ||
2087 | -public class HHUploadModel { | ||
2088 | - public var clouldKey: Swift.String? | ||
2089 | - public var filePath: Swift.String? { | ||
2090 | - get | ||
2091 | - set | ||
2092 | - } | ||
2093 | - public var smallImage: Swift.String | ||
2094 | - public var state: hhVDoctorSDK.UploadState? | ||
2095 | - public init() | ||
2096 | - public init(full: Swift.String?, scale: Swift.String) | ||
2097 | - public init(clouldKey: Swift.String?, filePath: Swift.String?, uploadTime: Foundation.TimeInterval?, name: Swift.String?, smallImage: Swift.String) | ||
2098 | - @objc deinit | ||
2099 | -} | ||
2100 | -@_hasMissingDesignatedInitializers public class UploadState { | ||
2101 | - public var file: Swift.String? | ||
2102 | - public var isSelect: Swift.Bool | ||
2103 | - public var changed: (() -> Swift.Void)? | ||
2104 | - public var progress: Swift.Float { | ||
2105 | - get | ||
2106 | - set | ||
2107 | - } | ||
2108 | - public func isSuccess() -> Swift.Bool | ||
2109 | - public func isFail() -> Swift.Bool | ||
2110 | - @objc deinit | ||
2111 | -} | ||
2112 | -@_hasMissingDesignatedInitializers public class WeakArray<T> { | ||
2113 | - public func add(_ delegate: T) | ||
2114 | - public func remove(_ delegate: T) | ||
2115 | - public func excute(_ block: @escaping ((T?) -> Swift.Void)) | ||
2116 | - @objc deinit | ||
2117 | -} | ||
2118 | -extension hhVDoctorSDK.AES.Error : Swift.Equatable {} | ||
2119 | -extension hhVDoctorSDK.AES.Error : Swift.Hashable {} | ||
2120 | -extension hhVDoctorSDK.AES.Variant : Swift.Equatable {} | ||
2121 | -extension hhVDoctorSDK.AES.Variant : Swift.Hashable {} | ||
2122 | -extension hhVDoctorSDK.AES.Variant : Swift.RawRepresentable {} | ||
2123 | -extension hhVDoctorSDK.Bit : Swift.Equatable {} | ||
2124 | -extension hhVDoctorSDK.Bit : Swift.Hashable {} | ||
2125 | -extension hhVDoctorSDK.Bit : Swift.RawRepresentable {} | ||
2126 | -extension hhVDoctorSDK.BlockMode.Error : Swift.Equatable {} | ||
2127 | -extension hhVDoctorSDK.BlockMode.Error : Swift.Hashable {} | ||
2128 | -extension hhVDoctorSDK.Blowfish.Error : Swift.Equatable {} | ||
2129 | -extension hhVDoctorSDK.Blowfish.Error : Swift.Hashable {} | ||
2130 | -extension hhVDoctorSDK.ChaCha20.Error : Swift.Equatable {} | ||
2131 | -extension hhVDoctorSDK.ChaCha20.Error : Swift.Hashable {} | ||
2132 | -extension hhVDoctorSDK.CipherError : Swift.Equatable {} | ||
2133 | -extension hhVDoctorSDK.CipherError : Swift.Hashable {} | ||
2134 | -extension hhVDoctorSDK.CMAC.Error : Swift.Equatable {} | ||
2135 | -extension hhVDoctorSDK.CMAC.Error : Swift.Hashable {} | ||
2136 | -extension hhVDoctorSDK.HHMediaType : Swift.Equatable {} | ||
2137 | -extension hhVDoctorSDK.HHMediaType : Swift.Hashable {} | ||
2138 | -extension hhVDoctorSDK.HHMediaType : Swift.RawRepresentable {} | ||
2139 | -extension hhVDoctorSDK.DateFormat : Swift.Equatable {} | ||
2140 | -extension hhVDoctorSDK.DateFormat : Swift.Hashable {} | ||
2141 | -extension hhVDoctorSDK.DateFormat : Swift.RawRepresentable {} | ||
2142 | -extension hhVDoctorSDK.HHFileCacheManager.HHAssetPathType : Swift.Equatable {} | ||
2143 | -extension hhVDoctorSDK.HHFileCacheManager.HHAssetPathType : Swift.Hashable {} | ||
2144 | -extension hhVDoctorSDK.HHLogMode : Swift.Equatable {} | ||
2145 | -extension hhVDoctorSDK.HHLogMode : Swift.Hashable {} | ||
2146 | -extension hhVDoctorSDK.HHLogMode : Swift.RawRepresentable {} | ||
2147 | -extension hhVDoctorSDK.HHMLoginCode : Swift.Equatable {} | ||
2148 | -extension hhVDoctorSDK.HHMLoginCode : Swift.Hashable {} | ||
2149 | -extension hhVDoctorSDK.HHMLoginCode : Swift.RawRepresentable {} | ||
2150 | -extension hhVDoctorSDK.HHCallType : Swift.Equatable {} | ||
2151 | -extension hhVDoctorSDK.HHCallType : Swift.Hashable {} | ||
2152 | -extension hhVDoctorSDK.HHCallType : Swift.RawRepresentable {} | ||
2153 | -extension hhVDoctorSDK.HHMCallingState : Swift.Equatable {} | ||
2154 | -extension hhVDoctorSDK.HHMCallingState : Swift.Hashable {} | ||
2155 | -extension hhVDoctorSDK.HHMCallingState : Swift.RawRepresentable {} | ||
2156 | -extension hhVDoctorSDK.HHRequestMethod : Swift.Equatable {} | ||
2157 | -extension hhVDoctorSDK.HHRequestMethod : Swift.Hashable {} | ||
2158 | -extension hhVDoctorSDK.HHServerType : Swift.Equatable {} | ||
2159 | -extension hhVDoctorSDK.HHServerType : Swift.Hashable {} | ||
2160 | -extension hhVDoctorSDK.HHPagerViewTransformerType : Swift.Equatable {} | ||
2161 | -extension hhVDoctorSDK.HHPagerViewTransformerType : Swift.Hashable {} | ||
2162 | -extension hhVDoctorSDK.HHPagerViewTransformerType : Swift.RawRepresentable {} | ||
2163 | -extension hhVDoctorSDK.HKDF.Error : Swift.Equatable {} | ||
2164 | -extension hhVDoctorSDK.HKDF.Error : Swift.Hashable {} | ||
2165 | -extension hhVDoctorSDK.HMAC.Error : Swift.Equatable {} | ||
2166 | -extension hhVDoctorSDK.HMAC.Error : Swift.Hashable {} | ||
2167 | -extension hhVDoctorSDK.HMAC.Variant : Swift.Equatable {} | ||
2168 | -extension hhVDoctorSDK.HMAC.Variant : Swift.Hashable {} | ||
2169 | -extension hhVDoctorSDK.ItemClass : Swift.Equatable {} | ||
2170 | -extension hhVDoctorSDK.ItemClass : Swift.Hashable {} | ||
2171 | -extension hhVDoctorSDK.ProtocolType : Swift.Equatable {} | ||
2172 | -extension hhVDoctorSDK.ProtocolType : Swift.Hashable {} | ||
2173 | -extension hhVDoctorSDK.AuthenticationType : Swift.Equatable {} | ||
2174 | -extension hhVDoctorSDK.AuthenticationType : Swift.Hashable {} | ||
2175 | -extension hhVDoctorSDK.Accessibility : Swift.Equatable {} | ||
2176 | -extension hhVDoctorSDK.Accessibility : Swift.Hashable {} | ||
2177 | -extension hhVDoctorSDK.Status : Swift.Equatable {} | ||
2178 | -extension hhVDoctorSDK.Status : Swift.Hashable {} | ||
2179 | -extension hhVDoctorSDK.Padding : Swift.Equatable {} | ||
2180 | -extension hhVDoctorSDK.Padding : Swift.Hashable {} | ||
2181 | -extension hhVDoctorSDK.PKCS5.PBKDF1.Error : Swift.Equatable {} | ||
2182 | -extension hhVDoctorSDK.PKCS5.PBKDF1.Error : Swift.Hashable {} | ||
2183 | -extension hhVDoctorSDK.PKCS5.PBKDF1.Variant : Swift.Equatable {} | ||
2184 | -extension hhVDoctorSDK.PKCS5.PBKDF1.Variant : Swift.Hashable {} | ||
2185 | -extension hhVDoctorSDK.PKCS5.PBKDF2.Error : Swift.Equatable {} | ||
2186 | -extension hhVDoctorSDK.PKCS5.PBKDF2.Error : Swift.Hashable {} | ||
2187 | -extension hhVDoctorSDK.PermissionType : Swift.Equatable {} | ||
2188 | -extension hhVDoctorSDK.PermissionType : Swift.Hashable {} | ||
2189 | -extension hhVDoctorSDK.PermissionType : Swift.RawRepresentable {} | ||
2190 | -extension hhVDoctorSDK.Poly1305.Error : Swift.Equatable {} | ||
2191 | -extension hhVDoctorSDK.Poly1305.Error : Swift.Hashable {} | ||
2192 | -extension hhVDoctorSDK.Rabbit.Error : Swift.Equatable {} | ||
2193 | -extension hhVDoctorSDK.Rabbit.Error : Swift.Hashable {} | ||
2194 | -extension hhVDoctorSDK.Reachability.NetworkStatus : Swift.Equatable {} | ||
2195 | -extension hhVDoctorSDK.Reachability.NetworkStatus : Swift.Hashable {} | ||
2196 | -extension hhVDoctorSDK.SHA2.Variant : Swift.Equatable {} | ||
2197 | -extension hhVDoctorSDK.SHA2.Variant : Swift.Hashable {} | ||
2198 | -extension hhVDoctorSDK.SHA3.Variant : Swift.Equatable {} | ||
2199 | -extension hhVDoctorSDK.SHA3.Variant : Swift.Hashable {} | ||
2200 | -extension hhVDoctorSDK.hhToastPosition : Swift.Equatable {} | ||
2201 | -extension hhVDoctorSDK.hhToastPosition : Swift.Hashable {} |
HHVDoctorSDK/hhVDoctorSDK.framework/Modules/hhVDoctorSDK.swiftmodule/arm.swiftmodule
deleted
100644 → 0
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
-
Please register or login to post a comment