NEMeetingKit V4.11.0
载入中...
搜索中...
未找到
NEScreenSharingService.h
浏览该文件的文档.
1// Copyright (c) 2022 NetEase, Inc. All rights reserved.
2// Use of this source code is governed by a MIT license that can be
3// found in the LICENSE file.
4
5#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
16@protocol NEScreenSharingStatusListener <NSObject>
17@optional
23- (void)onScreenSharingStatusChanged:(NEScreenSharingEvent *)event;
24@end
25
30@interface NEScreenSharingService : NSObject
38- (void)startScreenShare:(NEScreenSharingParams *)params
39 opts:(NEScreenSharingOptions *_Nullable)opts
40 callback:(NECallback)callback;
41
47- (void)stopScreenShare:(NECallback)callback;
48
54- (void)addScreenSharingStatusListener:(id<NEScreenSharingStatusListener>)listener;
55
61- (void)removeScreenSharingStatusListener:(id<NEScreenSharingStatusListener>)listener;
62@end
63
64NS_ASSUME_NONNULL_END
void(^ NECallback)(NSInteger resultCode, NSString *resultMessage, id resultData)
定义 NEMeetingKitDefine.h:17
定义 NEScreenSharingEvent.h:43
定义 NEScreenSharingOptions.h:12
定义 NEScreenSharingParams.h:12
定义 NEScreenSharingService.h:31