NERTC iOS SDK V5.9.10
载入中...
搜索中...
未找到
NERtcLinkEngineDelegate.h
浏览该文件的文档.
1//
2// NERtcLinkEngineDelegate.h
3// NERtcSDK
4//
5// Created by Netease on 2021/9/24.
6// Copyright © 2021 Netease. All rights reserved.
7//
8
9#ifndef NERtcLinkEngineDelegate_h
10#define NERtcLinkEngineDelegate_h
11
12#import <Foundation/Foundation.h>
14
15NS_ASSUME_NONNULL_BEGIN
16
25@protocol NERtcLinkEngineDirectCallDelegate <NSObject>
26
27 @optional
28
38- (void)onDirectCallRing;
39
49- (void)onDirectCallAccept;
50
61- (void)onDirectCallAcceptWithMediaType:(NERtcLinkMediaType)mediaType;
62
83- (void)onDirectCallHangupWithReason:(int)reason
84 error:(nullable NSError *)error
85 isCallEstablished:(BOOL)isCallEstablished;
86
100- (void)onDirectCallDisconnectWithError:(NSError *)error;
101
102@end
103
104@protocol NERtcLinkEngineDelegate <NERtcLinkEngineDirectCallDelegate>
105
106@end
107
108NS_ASSUME_NONNULL_END
109
110#endif /* NERtcLinkEngineDelegate_h */