Showing
59 changed files
with
5 additions
and
4 deletions
This file is too large to display.
@@ -382,6 +382,7 @@ SWIFT_CLASS("_TtC10HHMedicSDK4TRTC") | @@ -382,6 +382,7 @@ SWIFT_CLASS("_TtC10HHMedicSDK4TRTC") | ||
382 | - (void)switchCameraFlash:(BOOL)isOpen; | 382 | - (void)switchCameraFlash:(BOOL)isOpen; |
383 | - (void)switchLocalAudio:(BOOL)isOpen; | 383 | - (void)switchLocalAudio:(BOOL)isOpen; |
384 | - (void)switchLocalVideo:(BOOL)isOpen localView:(UIView * _Nonnull)localView; | 384 | - (void)switchLocalVideo:(BOOL)isOpen localView:(UIView * _Nonnull)localView; |
385 | +- (void)sendMsgWithIsSignal:(BOOL)isSignal cmd:(NSString * _Nonnull)cmd to:(NSString * _Nonnull)to complete:(void (^ _Nullable)(NSString * _Nullable))complete; | ||
385 | - (void)leaveRoom; | 386 | - (void)leaveRoom; |
386 | - (void)startRingWithAudioId:(NSInteger)audioId; | 387 | - (void)startRingWithAudioId:(NSInteger)audioId; |
387 | - (void)stopRing; | 388 | - (void)stopRing; |
@@ -65,7 +65,7 @@ extension HHSDK { | @@ -65,7 +65,7 @@ extension HHSDK { | ||
65 | @objc public func autoLogin(_ completion: ((Swift.Error?) -> Swift.Void)?) | 65 | @objc public func autoLogin(_ completion: ((Swift.Error?) -> Swift.Void)?) |
66 | @objc public func logout(_ callback: ((Swift.String?) -> Swift.Void)?) | 66 | @objc public func logout(_ callback: ((Swift.String?) -> Swift.Void)?) |
67 | @objc public func canVideo() -> Swift.Bool | 67 | @objc public func canVideo() -> Swift.Bool |
68 | - public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) | 68 | + public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String, complete: ((Swift.String?) -> Swift.Void)?) |
69 | public var isLogined: Swift.Bool { | 69 | public var isLogined: Swift.Bool { |
70 | get | 70 | get |
71 | } | 71 | } |
@@ -97,7 +97,7 @@ extension TRTC : HHSDKVideo.HHRTC { | @@ -97,7 +97,7 @@ extension TRTC : HHSDKVideo.HHRTC { | ||
97 | @objc dynamic public func switchCameraFlash(_ isOpen: Swift.Bool) | 97 | @objc dynamic public func switchCameraFlash(_ isOpen: Swift.Bool) |
98 | @objc dynamic public func switchLocalAudio(_ isOpen: Swift.Bool) | 98 | @objc dynamic public func switchLocalAudio(_ isOpen: Swift.Bool) |
99 | @objc dynamic public func switchLocalVideo(_ isOpen: Swift.Bool, localView: UIKit.UIView) | 99 | @objc dynamic public func switchLocalVideo(_ isOpen: Swift.Bool, localView: UIKit.UIView) |
100 | - public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) | 100 | + @objc dynamic public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String, complete: ((Swift.String?) -> Swift.Void)?) |
101 | @objc dynamic public func leaveRoom() | 101 | @objc dynamic public func leaveRoom() |
102 | @objc dynamic public func startRing(audioId: Swift.Int) | 102 | @objc dynamic public func startRing(audioId: Swift.Int) |
103 | @objc dynamic public func stopRing() | 103 | @objc dynamic public func stopRing() |
No preview for this file type
@@ -65,7 +65,7 @@ extension HHSDK { | @@ -65,7 +65,7 @@ extension HHSDK { | ||
65 | @objc public func autoLogin(_ completion: ((Swift.Error?) -> Swift.Void)?) | 65 | @objc public func autoLogin(_ completion: ((Swift.Error?) -> Swift.Void)?) |
66 | @objc public func logout(_ callback: ((Swift.String?) -> Swift.Void)?) | 66 | @objc public func logout(_ callback: ((Swift.String?) -> Swift.Void)?) |
67 | @objc public func canVideo() -> Swift.Bool | 67 | @objc public func canVideo() -> Swift.Bool |
68 | - public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) | 68 | + public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String, complete: ((Swift.String?) -> Swift.Void)?) |
69 | public var isLogined: Swift.Bool { | 69 | public var isLogined: Swift.Bool { |
70 | get | 70 | get |
71 | } | 71 | } |
@@ -97,7 +97,7 @@ extension TRTC : HHSDKVideo.HHRTC { | @@ -97,7 +97,7 @@ extension TRTC : HHSDKVideo.HHRTC { | ||
97 | @objc dynamic public func switchCameraFlash(_ isOpen: Swift.Bool) | 97 | @objc dynamic public func switchCameraFlash(_ isOpen: Swift.Bool) |
98 | @objc dynamic public func switchLocalAudio(_ isOpen: Swift.Bool) | 98 | @objc dynamic public func switchLocalAudio(_ isOpen: Swift.Bool) |
99 | @objc dynamic public func switchLocalVideo(_ isOpen: Swift.Bool, localView: UIKit.UIView) | 99 | @objc dynamic public func switchLocalVideo(_ isOpen: Swift.Bool, localView: UIKit.UIView) |
100 | - public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) | 100 | + @objc dynamic public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String, complete: ((Swift.String?) -> Swift.Void)?) |
101 | @objc dynamic public func leaveRoom() | 101 | @objc dynamic public func leaveRoom() |
102 | @objc dynamic public func startRing(audioId: Swift.Int) | 102 | @objc dynamic public func startRing(audioId: Swift.Int) |
103 | @objc dynamic public func stopRing() | 103 | @objc dynamic public func stopRing() |
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
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
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
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
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
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
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
-
Please register or login to post a comment