MCareFramework-Swift.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. // Generated by Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
  2. #pragma clang diagnostic push
  3. #pragma clang diagnostic ignored "-Wgcc-compat"
  4. #if !defined(__has_include)
  5. # define __has_include(x) 0
  6. #endif
  7. #if !defined(__has_attribute)
  8. # define __has_attribute(x) 0
  9. #endif
  10. #if !defined(__has_feature)
  11. # define __has_feature(x) 0
  12. #endif
  13. #if !defined(__has_warning)
  14. # define __has_warning(x) 0
  15. #endif
  16. #if __has_include(<swift/objc-prologue.h>)
  17. # include <swift/objc-prologue.h>
  18. #endif
  19. #pragma clang diagnostic ignored "-Wauto-import"
  20. #include <objc/NSObject.h>
  21. #include <stdint.h>
  22. #include <stddef.h>
  23. #include <stdbool.h>
  24. #if !defined(SWIFT_TYPEDEFS)
  25. # define SWIFT_TYPEDEFS 1
  26. # if __has_include(<uchar.h>)
  27. # include <uchar.h>
  28. # elif !defined(__cplusplus)
  29. typedef uint_least16_t char16_t;
  30. typedef uint_least32_t char32_t;
  31. # endif
  32. typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
  33. typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
  34. typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
  35. typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
  36. typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
  37. typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
  38. typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
  39. typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
  40. typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
  41. typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
  42. typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
  43. typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
  44. #endif
  45. #if !defined(SWIFT_PASTE)
  46. # define SWIFT_PASTE_HELPER(x, y) x##y
  47. # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
  48. #endif
  49. #if !defined(SWIFT_METATYPE)
  50. # define SWIFT_METATYPE(X) Class
  51. #endif
  52. #if !defined(SWIFT_CLASS_PROPERTY)
  53. # if __has_feature(objc_class_property)
  54. # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
  55. # else
  56. # define SWIFT_CLASS_PROPERTY(...)
  57. # endif
  58. #endif
  59. #if __has_attribute(objc_runtime_name)
  60. # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
  61. #else
  62. # define SWIFT_RUNTIME_NAME(X)
  63. #endif
  64. #if __has_attribute(swift_name)
  65. # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
  66. #else
  67. # define SWIFT_COMPILE_NAME(X)
  68. #endif
  69. #if __has_attribute(objc_method_family)
  70. # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
  71. #else
  72. # define SWIFT_METHOD_FAMILY(X)
  73. #endif
  74. #if __has_attribute(noescape)
  75. # define SWIFT_NOESCAPE __attribute__((noescape))
  76. #else
  77. # define SWIFT_NOESCAPE
  78. #endif
  79. #if __has_attribute(warn_unused_result)
  80. # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  81. #else
  82. # define SWIFT_WARN_UNUSED_RESULT
  83. #endif
  84. #if __has_attribute(noreturn)
  85. # define SWIFT_NORETURN __attribute__((noreturn))
  86. #else
  87. # define SWIFT_NORETURN
  88. #endif
  89. #if !defined(SWIFT_CLASS_EXTRA)
  90. # define SWIFT_CLASS_EXTRA
  91. #endif
  92. #if !defined(SWIFT_PROTOCOL_EXTRA)
  93. # define SWIFT_PROTOCOL_EXTRA
  94. #endif
  95. #if !defined(SWIFT_ENUM_EXTRA)
  96. # define SWIFT_ENUM_EXTRA
  97. #endif
  98. #if !defined(SWIFT_CLASS)
  99. # if __has_attribute(objc_subclassing_restricted)
  100. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
  101. # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  102. # else
  103. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  104. # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  105. # endif
  106. #endif
  107. #if !defined(SWIFT_PROTOCOL)
  108. # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  109. # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  110. #endif
  111. #if !defined(SWIFT_EXTENSION)
  112. # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
  113. #endif
  114. #if !defined(OBJC_DESIGNATED_INITIALIZER)
  115. # if __has_attribute(objc_designated_initializer)
  116. # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
  117. # else
  118. # define OBJC_DESIGNATED_INITIALIZER
  119. # endif
  120. #endif
  121. #if !defined(SWIFT_ENUM_ATTR)
  122. # if defined(__has_attribute) && __has_attribute(enum_extensibility)
  123. # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
  124. # else
  125. # define SWIFT_ENUM_ATTR(_extensibility)
  126. # endif
  127. #endif
  128. #if !defined(SWIFT_ENUM)
  129. # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
  130. # if __has_feature(generalized_swift_name)
  131. # 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
  132. # else
  133. # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
  134. # endif
  135. #endif
  136. #if !defined(SWIFT_UNAVAILABLE)
  137. # define SWIFT_UNAVAILABLE __attribute__((unavailable))
  138. #endif
  139. #if !defined(SWIFT_UNAVAILABLE_MSG)
  140. # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
  141. #endif
  142. #if !defined(SWIFT_AVAILABILITY)
  143. # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
  144. #endif
  145. #if !defined(SWIFT_DEPRECATED)
  146. # define SWIFT_DEPRECATED __attribute__((deprecated))
  147. #endif
  148. #if !defined(SWIFT_DEPRECATED_MSG)
  149. # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
  150. #endif
  151. #if __has_feature(attribute_diagnose_if_objc)
  152. # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
  153. #else
  154. # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
  155. #endif
  156. #if __has_feature(modules)
  157. @import CoreGraphics;
  158. @import ObjectiveC;
  159. @import UIKit;
  160. #endif
  161. #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
  162. #pragma clang diagnostic ignored "-Wduplicate-method-arg"
  163. #if __has_warning("-Wpragma-clang-attribute")
  164. # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
  165. #endif
  166. #pragma clang diagnostic ignored "-Wunknown-pragmas"
  167. #pragma clang diagnostic ignored "-Wnullability"
  168. #if __has_attribute(external_source_symbol)
  169. # pragma push_macro("any")
  170. # undef any
  171. # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="MCareFramework",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
  172. # pragma pop_macro("any")
  173. #endif
  174. @class NSCoder;
  175. SWIFT_CLASS("_TtC14MCareFramework19MCareCustomAlerview")
  176. @interface MCareCustomAlerview : UIView
  177. - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
  178. - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
  179. @end
  180. SWIFT_CLASS("_TtC14MCareFramework16MessageProcessor")
  181. @interface MessageProcessor : NSObject
  182. - (nonnull instancetype)init SWIFT_UNAVAILABLE;
  183. + (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
  184. @end
  185. SWIFT_PROTOCOL("_TtP14MCareFramework17mcareHttpDelegate_")
  186. @protocol mcareHttpDelegate
  187. - (void)httpResponseWithReqType:(NSString * _Nullable)reqType response:(id _Nullable)response;
  188. @end
  189. @class NSArray;
  190. SWIFT_PROTOCOL("_TtP14MCareFramework15messageDelegate_")
  191. @protocol messageDelegate
  192. @optional
  193. - (void)sendDeviceTokenWithCallBackFn:(NSString * _Nonnull)callBackFn;
  194. - (void)showBrowsingUrlWithStrUrl:(NSString * _Nonnull)strUrl;
  195. - (void)showPopupUrlWithStrUrl:(NSString * _Nonnull)strUrl strMethod:(NSString * _Nullable)strMethod strParameters:(NSString * _Nullable)strParameters;
  196. - (void)showPopupBrowsingUrlWithStrUrl:(NSString * _Nonnull)strUrl strMethod:(NSString * _Nonnull)strMethod strParameters:(NSString * _Nonnull)strParameters;
  197. - (void)closePopupWithCallbackFn:(NSString * _Nonnull)callbackFn params:(NSDictionary<NSString *, id> * _Nonnull)params;
  198. - (void)executeScreenRotateWithOrientation:(NSString * _Nonnull)orientation;
  199. - (void)showSystemBrowsingWithUrlWithStrUrl:(NSString * _Nonnull)strUrl;
  200. - (void)showOpenMapWithMapInfoDic:(NSDictionary<NSString *, id> * _Nonnull)mapInfoDic;
  201. - (void)sendIsInHospitalWithCallBackFn:(NSString * _Nonnull)callBackFn;
  202. - (void)sendCurrentAreaWithCallBackFn:(NSString * _Nonnull)callBackFn;
  203. - (void)sendRecentMessageWithCallBackFn:(NSString * _Nonnull)callBackFn pId:(NSString * _Nonnull)pId;
  204. - (void)addReservationDatetimeWithDateTime:(NSString * _Nonnull)dateTime deptName:(NSString * _Nonnull)deptName doctorName:(NSString * _Nonnull)doctorName hospitalName:(NSString * _Nonnull)hospitalName;
  205. - (void)addIcalWithTitle:(NSString * _Nonnull)title note:(NSString * _Nonnull)note dtStart:(NSString * _Nonnull)dtStart dtEnd:(NSString * _Nonnull)dtEnd location:(NSString * _Nonnull)location;
  206. - (void)sendExecuteDBWithCallBackFn:(NSString * _Nonnull)callBackFn actionName:(NSString * _Nonnull)actionName actionValue:(NSDictionary<NSString *, id> * _Nonnull)actionValue;
  207. - (void)closePopupReturnUrlWithStrUrl:(NSString * _Nonnull)strUrl;
  208. - (void)sendMCareVersionInfoWithCallBackFn:(NSString * _Nonnull)callBackFn;
  209. - (void)sendMCareVersionInfo2WithCallBackFn:(NSString * _Nonnull)callBackFn;
  210. - (void)sendRecentDomainWithCallBackFn:(NSString * _Nonnull)callBackFn domainName:(NSString * _Nonnull)domainName;
  211. - (void)managementPaymentWithPaymentType:(NSString * _Nonnull)paymentType actionName:(NSString * _Nonnull)actionName actionValue:(NSDictionary<NSString *, id> * _Nonnull)actionValue;
  212. - (void)sendRequestPaymentWithCallBackFn:(NSString * _Nonnull)callBackFn paymentType:(NSString * _Nonnull)paymentType actionValue:(NSDictionary<NSString *, id> * _Nonnull)actionValue;
  213. - (void)requestSpeakOutWithSpeakMessage:(NSString * _Nonnull)speakMessage;
  214. - (void)exitMcare;
  215. - (void)textDataShareWithTextData:(NSString * _Nonnull)textData;
  216. - (void)requestAppCheckWithCallBackFn:(NSString * _Nonnull)callBackFn target:(NSString * _Nonnull)target;
  217. - (void)requestAppInstallWithTarget:(NSString * _Nonnull)target;
  218. - (void)sendAppActionWithCallBackFn:(NSString * _Nullable)callBackFn actionName:(NSString * _Nonnull)actionName actionValue:(NSDictionary<NSString *, id> * _Nonnull)actionValue;
  219. - (void)sendReauthWithCallBackFn:(NSString * _Nonnull)callBackFn target:(NSString * _Nonnull)target externalId:(NSString * _Nonnull)externalId;
  220. - (void)sendShadowWithCallBackFn:(NSString * _Nonnull)callBackFn target:(NSString * _Nonnull)target externalId:(NSString * _Nonnull)externalId;
  221. - (void)fidoLoginWithCallBackFn:(NSString * _Nonnull)callBackFn target:(NSString * _Nonnull)target;
  222. - (void)snsLoginWithCallBackFn:(NSString * _Nonnull)callBackFn snsType:(NSString * _Nonnull)snsType;
  223. - (void)kakaoSignup;
  224. - (void)snsLogoutWithCallBackFn:(NSString * _Nonnull)callBackFn snsType:(NSString * _Nonnull)snsType;
  225. - (void)snsDisconnectWithCallBackFn:(NSString * _Nonnull)callBackFn snsType:(NSString * _Nonnull)snsType;
  226. - (void)fidoAuthWithCallBackFn:(NSString * _Nonnull)callBackFn target:(NSString * _Nonnull)target externalId:(NSString * _Nonnull)externalId;
  227. - (void)sendAlarmScheduleWithCallBackFn:(NSString * _Nonnull)callBackFn pId:(NSString * _Nonnull)pId cipherKey:(NSString * _Nonnull)cipherKey;
  228. - (void)addAlarmScheduleWithCallBackFn:(NSString * _Nonnull)callBackFn startDate:(NSString * _Nonnull)startDate endDate:(NSString * _Nonnull)endDate count:(NSInteger)count actionValues:(NSArray * _Nonnull)actionValues pId:(NSString * _Nonnull)pId cipherKey:(NSString * _Nonnull)cipherKey;
  229. - (void)invalidFunctionWithFunctionType:(NSString * _Nonnull)functionType callBack:(NSString * _Nullable)callBack;
  230. - (void)logoutWithCallBackFn:(NSString * _Nonnull)callBackFn;
  231. - (void)parkingWithCallBackFn:(NSString * _Nonnull)callBackFn;
  232. - (void)requestOpenAppWithTarget:(NSString * _Nonnull)target callBackArgs:(NSDictionary<NSString *, id> * _Nonnull)callBackArgs;
  233. - (void)sendInfomationWithInfoDic:(NSDictionary<NSString *, id> * _Nonnull)infoDic;
  234. - (void)showHtmlPopupWithHtmlString:(NSString * _Nonnull)htmlString;
  235. - (void)sendWifiStateWithCallBackFn:(NSString * _Nonnull)callBackFn;
  236. - (void)prescriptionWithInfoDic:(NSDictionary<NSString *, id> * _Nonnull)infoDic;
  237. - (void)healthScreeningWithInfoDic:(NSDictionary<NSString *, id> * _Nonnull)infoDic;
  238. - (void)sendBrightnessWithBrightness:(NSString * _Nonnull)brightness restore:(BOOL)restore;
  239. - (void)openSettingsWithCallBackFn:(NSString * _Nullable)callBackFn;
  240. - (void)clovaSpeechSynthesisWithText:(NSString * _Nonnull)text speaker:(NSString * _Nonnull)speaker speed:(NSInteger)speed stop:(NSString * _Nonnull)stop;
  241. - (void)clovaSpeechRecognitionResultWithSuccess:(BOOL)success message:(NSString * _Nonnull)message;
  242. - (void)showChatbotButtonWithEnable:(BOOL)enable;
  243. - (void)sendNXNFidoWithCallBackFn:(NSString * _Nonnull)callBackFn target:(NSString * _Nonnull)target type:(NSString * _Nonnull)type fidoId:(NSString * _Nonnull)fidoId;
  244. - (void)sendAvailableBioTypesWithFidoId:(NSString * _Nonnull)fidoId callBackFn:(NSString * _Nonnull)callBackFn;
  245. - (void)sendAvailableBioCertWithType:(NSString * _Nonnull)type callBackFn:(NSString * _Nonnull)callBackFn;
  246. - (void)changeBioTypesWithFidoId:(NSString * _Nonnull)fidoId enable:(NSString * _Nonnull)enable disable:(NSString * _Nonnull)disable callBackFn:(NSString * _Nonnull)callBackFn;
  247. - (void)sendAuthenticatorsWithFidoId:(NSString * _Nonnull)fidoId callBackFn:(NSString * _Nonnull)callBackFn;
  248. - (void)checkFidoLoginWithCallBackFn:(NSString * _Nonnull)callBackFn;
  249. - (void)storeHospitalCdWithHospitalCd:(NSString * _Nonnull)hospitalCd;
  250. - (void)removeHospitalCd;
  251. @end
  252. @class NSDictionary;
  253. SWIFT_PROTOCOL("_TtP14MCareFramework15paymentDelegate_")
  254. @protocol paymentDelegate
  255. @optional
  256. - (void)managementPaymentCardWithPaymentType:(NSString * _Nonnull)paymentType actionName:(NSString * _Nonnull)actionName actionValue:(NSDictionary * _Nonnull)actionValue;
  257. - (void)requestPaymentCertWithCallBackFn:(NSString * _Nonnull)callBackFn paymentType:(NSString * _Nonnull)paymentType actionName:(NSString * _Nonnull)actionName actionValue:(NSDictionary * _Nonnull)actionValue;
  258. - (void)requestPaymentWithCallBackFn:(NSString * _Nonnull)callBackFn paymentType:(NSString * _Nonnull)paymentType actionValue:(NSDictionary * _Nonnull)actionValue;
  259. - (void)cancelPaymentWithPaymentType:(NSString * _Nonnull)paymentType actionValue:(NSDictionary * _Nonnull)actionValue;
  260. - (void)invalidPaymentActionWithPaymentType:(NSString * _Nullable)paymentType callBackFn:(NSString * _Nullable)callBackFn;
  261. @end
  262. #if __has_attribute(external_source_symbol)
  263. # pragma clang attribute pop
  264. #endif
  265. #pragma clang diagnostic pop