2021-01-13 13:48:29 +00:00
|
|
|
/* Copyright @ 2021-present 8x8, Inc.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <React/RCTBridgeModule.h>
|
|
|
|
#import <React/RCTEventEmitter.h>
|
|
|
|
|
|
|
|
@interface ExternalAPI : RCTEventEmitter<RCTBridgeModule>
|
|
|
|
|
|
|
|
- (void)sendHangUp;
|
2021-02-17 14:26:40 +00:00
|
|
|
- (void)sendSetAudioMuted:(BOOL)muted;
|
2021-02-19 08:40:45 +00:00
|
|
|
- (void)sendEndpointTextMessage:(NSString*)message :(NSString*)to;
|
2021-04-22 12:24:17 +00:00
|
|
|
- (void)toggleScreenShare:(BOOL)enabled;
|
2021-02-04 12:26:35 +00:00
|
|
|
- (void)retrieveParticipantsInfo:(void (^)(NSArray*))completion;
|
2021-02-17 14:26:40 +00:00
|
|
|
- (void)openChat:(NSString*)to;
|
|
|
|
- (void)closeChat;
|
2021-02-19 08:40:45 +00:00
|
|
|
- (void)sendChatMessage:(NSString*)message :(NSString*)to ;
|
2021-03-23 13:30:17 +00:00
|
|
|
- (void)sendSetVideoMuted:(BOOL)muted;
|
2021-01-13 13:48:29 +00:00
|
|
|
|
|
|
|
@end
|