chengyanfang

sdk upgrade

Showing 71 changed files with 17 additions and 144 deletions
Pod::Spec.new do |s|
s.name = "HHMedicSDK"
s.version = "3.1.2.041920"
s.version = "3.1.2.041923"
s.summary = "和缓基础SDK"
s.description = <<-DESC
... ...
... ... @@ -3,5 +3,5 @@
<plist version="1.0">
<dict>
<key>HHBundleVersion</key>
<string>3.1.2.041920</string></dict>
<string>3.1.2.041923</string></dict>
</plist>
... ...
... ... @@ -208,8 +208,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
SWIFT_CLASS("_TtC9HHSDKBase9HHBaseSDK")
@interface HHBaseSDK : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=default) HHBaseSDK * _Nonnull default_;)
... ... @@ -312,58 +310,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=defau
/// Class which implements the various <code>URLSessionDelegate</code> methods to connect various Alamofire features.
SWIFT_CLASS("_TtC9HHSDKBase15SessionDelegate")
@interface SessionDelegate : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@class NSURLSession;
@interface SessionDelegate (SWIFT_EXTENSION(HHSDKBase)) <NSURLSessionDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session didBecomeInvalidWithError:(NSError * _Nullable)error;
@end
@class NSURLSessionDataTask;
@class NSCachedURLResponse;
@interface SessionDelegate (SWIFT_EXTENSION(HHSDKBase)) <NSURLSessionDataDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveData:(NSData * _Nonnull)data;
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask willCacheResponse:(NSCachedURLResponse * _Nonnull)proposedResponse completionHandler:(void (^ _Nonnull)(NSCachedURLResponse * _Nullable))completionHandler;
@end
@class NSURLSessionDownloadTask;
@interface SessionDelegate (SWIFT_EXTENSION(HHSDKBase)) <NSURLSessionDownloadDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didResumeAtOffset:(int64_t)fileOffset expectedTotalBytes:(int64_t)expectedTotalBytes;
- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didWriteData:(int64_t)bytesWritten totalBytesWritten:(int64_t)totalBytesWritten totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite;
- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didFinishDownloadingToURL:(NSURL * _Nonnull)location;
@end
@class NSURLSessionTask;
@class NSURLAuthenticationChallenge;
@class NSURLCredential;
@class NSInputStream;
@class NSURLSessionTaskMetrics;
@interface SessionDelegate (SWIFT_EXTENSION(HHSDKBase)) <NSURLSessionTaskDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didReceiveChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge completionHandler:(void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable))completionHandler;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didSendBodyData:(int64_t)bytesSent totalBytesSent:(int64_t)totalBytesSent totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task needNewBodyStream:(void (^ _Nonnull)(NSInputStream * _Nullable))completionHandler;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task willPerformHTTPRedirection:(NSHTTPURLResponse * _Nonnull)response newRequest:(NSURLRequest * _Nonnull)request completionHandler:(void (^ _Nonnull)(NSURLRequest * _Nullable))completionHandler;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didFinishCollectingMetrics:(NSURLSessionTaskMetrics * _Nonnull)metrics;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didCompleteWithError:(NSError * _Nullable)error;
- (void)URLSession:(NSURLSession * _Nonnull)session taskIsWaitingForConnectivity:(NSURLSessionTask * _Nonnull)task SWIFT_AVAILABILITY(watchos,introduced=4.0) SWIFT_AVAILABILITY(tvos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=11.0) SWIFT_AVAILABILITY(macos,introduced=10.13);
@end
... ... @@ -381,8 +327,6 @@ SWIFT_CLASS("_TtC9HHSDKBase15SessionDelegate")
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
... ... @@ -597,8 +541,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
SWIFT_CLASS("_TtC9HHSDKBase9HHBaseSDK")
@interface HHBaseSDK : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=default) HHBaseSDK * _Nonnull default_;)
... ... @@ -701,58 +643,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=defau
/// Class which implements the various <code>URLSessionDelegate</code> methods to connect various Alamofire features.
SWIFT_CLASS("_TtC9HHSDKBase15SessionDelegate")
@interface SessionDelegate : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@class NSURLSession;
@interface SessionDelegate (SWIFT_EXTENSION(HHSDKBase)) <NSURLSessionDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session didBecomeInvalidWithError:(NSError * _Nullable)error;
@end
@class NSURLSessionDataTask;
@class NSCachedURLResponse;
@interface SessionDelegate (SWIFT_EXTENSION(HHSDKBase)) <NSURLSessionDataDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveData:(NSData * _Nonnull)data;
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask willCacheResponse:(NSCachedURLResponse * _Nonnull)proposedResponse completionHandler:(void (^ _Nonnull)(NSCachedURLResponse * _Nullable))completionHandler;
@end
@class NSURLSessionDownloadTask;
@interface SessionDelegate (SWIFT_EXTENSION(HHSDKBase)) <NSURLSessionDownloadDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didResumeAtOffset:(int64_t)fileOffset expectedTotalBytes:(int64_t)expectedTotalBytes;
- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didWriteData:(int64_t)bytesWritten totalBytesWritten:(int64_t)totalBytesWritten totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite;
- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didFinishDownloadingToURL:(NSURL * _Nonnull)location;
@end
@class NSURLSessionTask;
@class NSURLAuthenticationChallenge;
@class NSURLCredential;
@class NSInputStream;
@class NSURLSessionTaskMetrics;
@interface SessionDelegate (SWIFT_EXTENSION(HHSDKBase)) <NSURLSessionTaskDelegate>
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didReceiveChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge completionHandler:(void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable))completionHandler;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didSendBodyData:(int64_t)bytesSent totalBytesSent:(int64_t)totalBytesSent totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task needNewBodyStream:(void (^ _Nonnull)(NSInputStream * _Nullable))completionHandler;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task willPerformHTTPRedirection:(NSHTTPURLResponse * _Nonnull)response newRequest:(NSURLRequest * _Nonnull)request completionHandler:(void (^ _Nonnull)(NSURLRequest * _Nullable))completionHandler;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didFinishCollectingMetrics:(NSURLSessionTaskMetrics * _Nonnull)metrics;
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didCompleteWithError:(NSError * _Nullable)error;
- (void)URLSession:(NSURLSession * _Nonnull)session taskIsWaitingForConnectivity:(NSURLSessionTask * _Nonnull)task SWIFT_AVAILABILITY(watchos,introduced=4.0) SWIFT_AVAILABILITY(tvos,introduced=11.0) SWIFT_AVAILABILITY(ios,introduced=11.0) SWIFT_AVAILABILITY(macos,introduced=10.13);
@end
... ... @@ -770,8 +660,6 @@ SWIFT_CLASS("_TtC9HHSDKBase15SessionDelegate")
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
... ...
... ... @@ -1418,8 +1418,9 @@ public struct EKSimpleMessage {
public protocol HHRTCDelegate : ObjectiveC.NSObject {
func onEnterRoom()
func checkHasAccept(_ isCmd: Swift.Bool, volumn: Swift.Int)
func onDoctorViewAvailable(_ availableUserId: Swift.String)
func onDoctorLeaveRoom(_ userId: Swift.String)
func onOtherViewAvailable(_ availableUserId: Swift.String, isAvailable: Swift.Bool)
func onRemoteUserEnterRoom(_ userId: Swift.String)
func onRemoteUserLeaveRoom(_ userId: Swift.String)
func sendRTCLog(action: HHSDKVideo.TrtcLog, ex: Swift.String)
func esdablishByRTC(error: HHSDKVideo.TrtcError, reason: Swift.String)
func processMsg(cmd: HHSDKVideo.HHIMCmd, orderId: Swift.String)
... ... @@ -1427,10 +1428,6 @@ public protocol HHRTCDelegate : ObjectiveC.NSObject {
func waitingSuccess(_ doctorInfo: HHSDKVideo.HHDoctorModel, orderId: Swift.String)
func onTransform(_ transInfo: HHSDKVideo.HHWaitDoctorModel)
func onExitRoom()
func onUserEnter(_ uuid: Swift.String)
func onUserLeave(_ uuid: Swift.String)
func onRecSignal(_ type: Swift.Int, notify: HHSDKVideo.NotifyInfo)
func meetingError(_ tip: Swift.String)
}
public enum TrtcLog : Swift.String {
case waitingRecall
... ...
... ... @@ -1418,8 +1418,9 @@ public struct EKSimpleMessage {
public protocol HHRTCDelegate : ObjectiveC.NSObject {
func onEnterRoom()
func checkHasAccept(_ isCmd: Swift.Bool, volumn: Swift.Int)
func onDoctorViewAvailable(_ availableUserId: Swift.String)
func onDoctorLeaveRoom(_ userId: Swift.String)
func onOtherViewAvailable(_ availableUserId: Swift.String, isAvailable: Swift.Bool)
func onRemoteUserEnterRoom(_ userId: Swift.String)
func onRemoteUserLeaveRoom(_ userId: Swift.String)
func sendRTCLog(action: HHSDKVideo.TrtcLog, ex: Swift.String)
func esdablishByRTC(error: HHSDKVideo.TrtcError, reason: Swift.String)
func processMsg(cmd: HHSDKVideo.HHIMCmd, orderId: Swift.String)
... ... @@ -1427,10 +1428,6 @@ public protocol HHRTCDelegate : ObjectiveC.NSObject {
func waitingSuccess(_ doctorInfo: HHSDKVideo.HHDoctorModel, orderId: Swift.String)
func onTransform(_ transInfo: HHSDKVideo.HHWaitDoctorModel)
func onExitRoom()
func onUserEnter(_ uuid: Swift.String)
func onUserLeave(_ uuid: Swift.String)
func onRecSignal(_ type: Swift.Int, notify: HHSDKVideo.NotifyInfo)
func meetingError(_ tip: Swift.String)
}
public enum TrtcLog : Swift.String {
case waitingRecall
... ...
... ... @@ -1418,8 +1418,9 @@ public struct EKSimpleMessage {
public protocol HHRTCDelegate : ObjectiveC.NSObject {
func onEnterRoom()
func checkHasAccept(_ isCmd: Swift.Bool, volumn: Swift.Int)
func onDoctorViewAvailable(_ availableUserId: Swift.String)
func onDoctorLeaveRoom(_ userId: Swift.String)
func onOtherViewAvailable(_ availableUserId: Swift.String, isAvailable: Swift.Bool)
func onRemoteUserEnterRoom(_ userId: Swift.String)
func onRemoteUserLeaveRoom(_ userId: Swift.String)
func sendRTCLog(action: HHSDKVideo.TrtcLog, ex: Swift.String)
func esdablishByRTC(error: HHSDKVideo.TrtcError, reason: Swift.String)
func processMsg(cmd: HHSDKVideo.HHIMCmd, orderId: Swift.String)
... ... @@ -1427,10 +1428,6 @@ public protocol HHRTCDelegate : ObjectiveC.NSObject {
func waitingSuccess(_ doctorInfo: HHSDKVideo.HHDoctorModel, orderId: Swift.String)
func onTransform(_ transInfo: HHSDKVideo.HHWaitDoctorModel)
func onExitRoom()
func onUserEnter(_ uuid: Swift.String)
func onUserLeave(_ uuid: Swift.String)
func onRecSignal(_ type: Swift.Int, notify: HHSDKVideo.NotifyInfo)
func meetingError(_ tip: Swift.String)
}
public enum TrtcLog : Swift.String {
case waitingRecall
... ...
... ... @@ -1418,8 +1418,9 @@ public struct EKSimpleMessage {
public protocol HHRTCDelegate : ObjectiveC.NSObject {
func onEnterRoom()
func checkHasAccept(_ isCmd: Swift.Bool, volumn: Swift.Int)
func onDoctorViewAvailable(_ availableUserId: Swift.String)
func onDoctorLeaveRoom(_ userId: Swift.String)
func onOtherViewAvailable(_ availableUserId: Swift.String, isAvailable: Swift.Bool)
func onRemoteUserEnterRoom(_ userId: Swift.String)
func onRemoteUserLeaveRoom(_ userId: Swift.String)
func sendRTCLog(action: HHSDKVideo.TrtcLog, ex: Swift.String)
func esdablishByRTC(error: HHSDKVideo.TrtcError, reason: Swift.String)
func processMsg(cmd: HHSDKVideo.HHIMCmd, orderId: Swift.String)
... ... @@ -1427,10 +1428,6 @@ public protocol HHRTCDelegate : ObjectiveC.NSObject {
func waitingSuccess(_ doctorInfo: HHSDKVideo.HHDoctorModel, orderId: Swift.String)
func onTransform(_ transInfo: HHSDKVideo.HHWaitDoctorModel)
func onExitRoom()
func onUserEnter(_ uuid: Swift.String)
func onUserLeave(_ uuid: Swift.String)
func onRecSignal(_ type: Swift.Int, notify: HHSDKVideo.NotifyInfo)
func meetingError(_ tip: Swift.String)
}
public enum TrtcLog : Swift.String {
case waitingRecall
... ...
... ... @@ -1418,8 +1418,9 @@ public struct EKSimpleMessage {
public protocol HHRTCDelegate : ObjectiveC.NSObject {
func onEnterRoom()
func checkHasAccept(_ isCmd: Swift.Bool, volumn: Swift.Int)
func onDoctorViewAvailable(_ availableUserId: Swift.String)
func onDoctorLeaveRoom(_ userId: Swift.String)
func onOtherViewAvailable(_ availableUserId: Swift.String, isAvailable: Swift.Bool)
func onRemoteUserEnterRoom(_ userId: Swift.String)
func onRemoteUserLeaveRoom(_ userId: Swift.String)
func sendRTCLog(action: HHSDKVideo.TrtcLog, ex: Swift.String)
func esdablishByRTC(error: HHSDKVideo.TrtcError, reason: Swift.String)
func processMsg(cmd: HHSDKVideo.HHIMCmd, orderId: Swift.String)
... ... @@ -1427,10 +1428,6 @@ public protocol HHRTCDelegate : ObjectiveC.NSObject {
func waitingSuccess(_ doctorInfo: HHSDKVideo.HHDoctorModel, orderId: Swift.String)
func onTransform(_ transInfo: HHSDKVideo.HHWaitDoctorModel)
func onExitRoom()
func onUserEnter(_ uuid: Swift.String)
func onUserLeave(_ uuid: Swift.String)
func onRecSignal(_ type: Swift.Int, notify: HHSDKVideo.NotifyInfo)
func meetingError(_ tip: Swift.String)
}
public enum TrtcLog : Swift.String {
case waitingRecall
... ...