ashen_23

sdk upgrade

Showing 55 changed files with 274 additions and 1 deletions
1 Pod::Spec.new do |s| 1 Pod::Spec.new do |s|
2 s.name = "HHDoctor_pro" 2 s.name = "HHDoctor_pro"
3 - s.version = "2.4.6" 3 + s.version = "2.4.6.01"
4 s.summary = "和缓视频医生 SDK" 4 s.summary = "和缓视频医生 SDK"
5 5
6 s.description = <<-DESC 6 s.description = <<-DESC
  1 +// Generated by Apple Swift version 5.1.3 effective-4.1.50 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
  2 +#pragma clang diagnostic push
  3 +#pragma clang diagnostic ignored "-Wgcc-compat"
  4 +
  5 +#if !defined(__has_include)
  6 +# define __has_include(x) 0
  7 +#endif
  8 +#if !defined(__has_attribute)
  9 +# define __has_attribute(x) 0
  10 +#endif
  11 +#if !defined(__has_feature)
  12 +# define __has_feature(x) 0
  13 +#endif
  14 +#if !defined(__has_warning)
  15 +# define __has_warning(x) 0
  16 +#endif
  17 +
  18 +#if __has_include(<swift/objc-prologue.h>)
  19 +# include <swift/objc-prologue.h>
  20 +#endif
  21 +
  22 +#pragma clang diagnostic ignored "-Wauto-import"
  23 +#include <Foundation/Foundation.h>
  24 +#include <stdint.h>
  25 +#include <stddef.h>
  26 +#include <stdbool.h>
  27 +
  28 +#if !defined(SWIFT_TYPEDEFS)
  29 +# define SWIFT_TYPEDEFS 1
  30 +# if __has_include(<uchar.h>)
  31 +# include <uchar.h>
  32 +# elif !defined(__cplusplus)
  33 +typedef uint_least16_t char16_t;
  34 +typedef uint_least32_t char32_t;
  35 +# endif
  36 +typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
  37 +typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
  38 +typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
  39 +typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
  40 +typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
  41 +typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
  42 +typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
  43 +typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
  44 +typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
  45 +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
  46 +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
  47 +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
  48 +#endif
  49 +
  50 +#if !defined(SWIFT_PASTE)
  51 +# define SWIFT_PASTE_HELPER(x, y) x##y
  52 +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
  53 +#endif
  54 +#if !defined(SWIFT_METATYPE)
  55 +# define SWIFT_METATYPE(X) Class
  56 +#endif
  57 +#if !defined(SWIFT_CLASS_PROPERTY)
  58 +# if __has_feature(objc_class_property)
  59 +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
  60 +# else
  61 +# define SWIFT_CLASS_PROPERTY(...)
  62 +# endif
  63 +#endif
  64 +
  65 +#if __has_attribute(objc_runtime_name)
  66 +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
  67 +#else
  68 +# define SWIFT_RUNTIME_NAME(X)
  69 +#endif
  70 +#if __has_attribute(swift_name)
  71 +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
  72 +#else
  73 +# define SWIFT_COMPILE_NAME(X)
  74 +#endif
  75 +#if __has_attribute(objc_method_family)
  76 +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
  77 +#else
  78 +# define SWIFT_METHOD_FAMILY(X)
  79 +#endif
  80 +#if __has_attribute(noescape)
  81 +# define SWIFT_NOESCAPE __attribute__((noescape))
  82 +#else
  83 +# define SWIFT_NOESCAPE
  84 +#endif
  85 +#if __has_attribute(warn_unused_result)
  86 +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  87 +#else
  88 +# define SWIFT_WARN_UNUSED_RESULT
  89 +#endif
  90 +#if __has_attribute(noreturn)
  91 +# define SWIFT_NORETURN __attribute__((noreturn))
  92 +#else
  93 +# define SWIFT_NORETURN
  94 +#endif
  95 +#if !defined(SWIFT_CLASS_EXTRA)
  96 +# define SWIFT_CLASS_EXTRA
  97 +#endif
  98 +#if !defined(SWIFT_PROTOCOL_EXTRA)
  99 +# define SWIFT_PROTOCOL_EXTRA
  100 +#endif
  101 +#if !defined(SWIFT_ENUM_EXTRA)
  102 +# define SWIFT_ENUM_EXTRA
  103 +#endif
  104 +#if !defined(SWIFT_CLASS)
  105 +# if __has_attribute(objc_subclassing_restricted)
  106 +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
  107 +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  108 +# else
  109 +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  110 +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  111 +# endif
  112 +#endif
  113 +#if !defined(SWIFT_RESILIENT_CLASS)
  114 +# if __has_attribute(objc_class_stub)
  115 +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
  116 +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
  117 +# else
  118 +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
  119 +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
  120 +# endif
  121 +#endif
  122 +
  123 +#if !defined(SWIFT_PROTOCOL)
  124 +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  125 +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  126 +#endif
  127 +
  128 +#if !defined(SWIFT_EXTENSION)
  129 +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
  130 +#endif
  131 +
  132 +#if !defined(OBJC_DESIGNATED_INITIALIZER)
  133 +# if __has_attribute(objc_designated_initializer)
  134 +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
  135 +# else
  136 +# define OBJC_DESIGNATED_INITIALIZER
  137 +# endif
  138 +#endif
  139 +#if !defined(SWIFT_ENUM_ATTR)
  140 +# if defined(__has_attribute) && __has_attribute(enum_extensibility)
  141 +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
  142 +# else
  143 +# define SWIFT_ENUM_ATTR(_extensibility)
  144 +# endif
  145 +#endif
  146 +#if !defined(SWIFT_ENUM)
  147 +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
  148 +# if __has_feature(generalized_swift_name)
  149 +# 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
  150 +# else
  151 +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
  152 +# endif
  153 +#endif
  154 +#if !defined(SWIFT_UNAVAILABLE)
  155 +# define SWIFT_UNAVAILABLE __attribute__((unavailable))
  156 +#endif
  157 +#if !defined(SWIFT_UNAVAILABLE_MSG)
  158 +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
  159 +#endif
  160 +#if !defined(SWIFT_AVAILABILITY)
  161 +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
  162 +#endif
  163 +#if !defined(SWIFT_WEAK_IMPORT)
  164 +# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
  165 +#endif
  166 +#if !defined(SWIFT_DEPRECATED)
  167 +# define SWIFT_DEPRECATED __attribute__((deprecated))
  168 +#endif
  169 +#if !defined(SWIFT_DEPRECATED_MSG)
  170 +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
  171 +#endif
  172 +#if __has_feature(attribute_diagnose_if_objc)
  173 +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
  174 +#else
  175 +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
  176 +#endif
  177 +#if !defined(IBSegueAction)
  178 +# define IBSegueAction
  179 +#endif
  180 +#if __has_feature(modules)
  181 +#if __has_warning("-Watimport-in-framework-header")
  182 +#pragma clang diagnostic ignored "-Watimport-in-framework-header"
  183 +#endif
  184 +@import ObjectiveC;
  185 +@import UIKit;
  186 +#endif
  187 +
  188 +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
  189 +#pragma clang diagnostic ignored "-Wduplicate-method-arg"
  190 +#if __has_warning("-Wpragma-clang-attribute")
  191 +# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
  192 +#endif
  193 +#pragma clang diagnostic ignored "-Wunknown-pragmas"
  194 +#pragma clang diagnostic ignored "-Wnullability"
  195 +
  196 +#if __has_attribute(external_source_symbol)
  197 +# pragma push_macro("any")
  198 +# undef any
  199 +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="HHDoctor_pro",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
  200 +# pragma pop_macro("any")
  201 +#endif
  202 +
  203 +@class HHSDKOptions;
  204 +@class UINavigationController;
  205 +
  206 +SWIFT_CLASS("_TtC12HHDoctor_pro8HHDoctor")
  207 +@interface HHDoctor : NSObject
  208 +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=default) HHDoctor * _Nonnull default_;)
  209 ++ (HHDoctor * _Nonnull)default SWIFT_WARN_UNUSED_RESULT;
  210 +/// 自定义界面标题
  211 +@property (nonatomic, copy) NSString * _Nonnull title;
  212 +/// 初始化 SDK
  213 +/// \param option 可选的 SDK 配置
  214 +///
  215 +- (void)startWithOption:(HHSDKOptions * _Nullable)option;
  216 +/// 呼叫视频医生
  217 +/// \param token 当前用户的唯一标识符
  218 +///
  219 +/// \param topVC 当前导航控制器
  220 +///
  221 +/// \param finished 回调结果, String 为空表示退出成功
  222 +///
  223 +- (void)callDoctor:(NSString * _Nonnull)token topVC:(UINavigationController * _Nonnull)topVC finished:(void (^ _Nullable)(NSString * _Nullable))finished;
  224 +/// 退出登录(退出账号时请调用退出登录)
  225 +/// \param callback 回调结果, String 为空表示退出成功
  226 +///
  227 +- (void)logoutWithCallback:(void (^ _Nonnull)(NSString * _Nullable))callback;
  228 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
  229 +@end
  230 +
  231 +
  232 +
  233 +
  234 +
  235 +
  236 +
  237 +
  238 +
  239 +
  240 +
  241 +
  242 +
  243 +#if __has_attribute(external_source_symbol)
  244 +# pragma clang attribute pop
  245 +#endif
  246 +#pragma clang diagnostic pop
  1 +#ifdef __OBJC__
  2 +#import <UIKit/UIKit.h>
  3 +#else
  4 +#ifndef FOUNDATION_EXPORT
  5 +#if defined(__cplusplus)
  6 +#define FOUNDATION_EXPORT extern "C"
  7 +#else
  8 +#define FOUNDATION_EXPORT extern
  9 +#endif
  10 +#endif
  11 +#endif
  12 +
  13 +
  14 +FOUNDATION_EXPORT double HHDoctor_proVersionNumber;
  15 +FOUNDATION_EXPORT const unsigned char HHDoctor_proVersionString[];
  16 +
No preview for this file type
  1 +framework module HHDoctor_pro {
  2 + umbrella header "HHDoctor_pro-umbrella.h"
  3 +
  4 + export *
  5 + module * { export * }
  6 +}
  7 +
  8 +module HHDoctor_pro.Swift {
  9 + header "HHDoctor_pro-Swift.h"
  10 + requires objc
  11 +}
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.