iOS SDK API Reference
Loading...
Searching...
No Matches
MobileRTCRemoteControlService.h
Go to the documentation of this file.
1//
2// MobileRTCRemoteControlService.h
3// MobileRTC
4//
5// Created by Zoom Video Communications on 2018/6/22.
6// Copyright © 2019 Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11@protocol MobileRTCRemoteControlDelegate;
12
16typedef enum
17{
21
28@interface MobileRTCRemoteControlService : NSObject
29
33@property (assign, nonatomic) id<MobileRTCRemoteControlDelegate> _Nonnull delegate;
34
40
45- (BOOL)isRemoteController;
46
52- (MobileRTCRemoteControlError)grabRemoteControl:(UIView * _Nonnull)remoteShareView;
53
59- (MobileRTCRemoteControlError)remoteControlSingleTap:(CGPoint)point;
60
66- (MobileRTCRemoteControlError)remoteControlDoubleTap:(CGPoint)point;
67
73- (MobileRTCRemoteControlError)remoteControlLongPress:(CGPoint)point;
74
80- (MobileRTCRemoteControlError)remoteControlDoubleScroll:(CGPoint)point;
81
87- (MobileRTCRemoteControlError)remoteControlSingleMove:(CGPoint)point;
88
95- (MobileRTCRemoteControlError)remoteControlMouseLeftDown:(CGPoint)point;
96
102- (MobileRTCRemoteControlError)remoteControlMouseLeftUp:(CGPoint)point;
103
109- (MobileRTCRemoteControlError)remoteControlMouseLeftDrag:(CGPoint)point;
110
116- (MobileRTCRemoteControlError)remoteControlCharInput:(NSString * _Nonnull)str;
117
124@end
125
129@protocol MobileRTCRemoteControlDelegate <NSObject>
130
131@optional
136- (void)remoteControlPrivilegeChanged:(BOOL)isMyControl;
137
142- (void)startRemoteControlCallBack:(MobileRTCRemoteControlError)resultValue;
143
144@end
145
MobileRTCRemoteControlError
MobileRTCRemoteControlError An enumeration of remote control-related operational result in meeting.
MobileRTCRemoteControlInputType
MobileRTCRemoteControlInputType An Enumeration of input types when the Enter key or Delete on the key...
@ MobileRTCRemoteControl_Del
@ MobileRTCRemoteControl_Return
It provides Remote Control Service.
BOOL isHaveRemoteControlRight()
Query if current user have control privilege. You can have this right after be assigned to the remote...
id< MobileRTCRemoteControlDelegate > _Nonnull delegate
Callback event of receiving remote control.
BOOL isRemoteController()
Query if the current user gets the remote control privilege.