BBASMRTCRoomItemPlugin.h
2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
// BBASMRTCRoomItemPlugin.h
// BBAMNP
//
// Created by baidu on 2020/4/9.
// Copyright © 2020 Baidu. All rights reserved.
//
#import <BBASchemeDispatcher/BBASchemeDispatcher.h>
NS_ASSUME_NONNULL_BEGIN
/// RTCRoom - item组件
@interface BBASMRTCRoomItemPlugin : BBASDPluginBase
/**
* 描 述: 初始化小程序RTCoom - item组件
* 示 例: baiduboxapp://swanAPI/rtcRoomItem/open?callback=__jsna_14
* 文 档: http://es.baidu-int.com/index#/apidetail/1101
* 备 注:
* ********** description ************
* @name: boxjs.rtcRoomItemOpen
* @authority: swanAPI
* @path: /rtcRoomItem/open
* @args: [{"name": "type","value": "string"},{"name": "parentId", "value": "string="}, {"name": "hide", "value": "boolean="}, {"name": "position", "value": "Object="}, {"name": "slaveId", "value": "string"},{"name": "rtcRoomItemId", "value": "string="},{"name": "componentId","value": "string="}, {"name": "userId", "value": "number="},{"name":"roomId","value":"string"}]
* @config: {"swan": {"web": {"invoke": "swan.message.url", "handler": "bridge"}, "jsc": {"invoke": "swan.method.url", "method": "_naSwan.bridge.postMessage"}}}
*/
- (void)open:(BBASchemeDispatcher *)dispatcher;
/**
* 描 述: 更新小程序RTCoom - item组件信息
* 示 例: baiduboxapp://swanAPI/rtcRoomItem/update?callback=__jsna_14
* 文 档: http://es.baidu-int.com/index#/apidetail/1102
* 备 注:
* ********** description ************
* @name: boxjs.rtcRoomItemUpdate
* @authority: swanAPI
* @path: /rtcRoomItem/update
* @args: [{"name": "hide", "value": "boolean="}, {"name": "position", "value": "Object="}, {"name": "slaveId", "value": "string"}, {"name": "rtcRoomItemId", "value": "string="},{"name": "componentId","value": "string="},{"name": "userId", "value": "number="},{"name":"roomId","value":"string"}]
* @config: {"swan": {"web": {"invoke": "swan.message.url", "handler": "bridge"}, "jsc": {"invoke": "swan.method.url", "method": "_naSwan.bridge.postMessage"}}}
*/
- (void)update:(BBASchemeDispatcher *)dispatcher;
/**
* 描 述: 移除小程序RTCoom组
* 示 例: baiduboxapp://swanAPI/rtcRoomItem/remove?callback=__jsna_14
* 文 档: http://es.baidu-int.com/index#/apidetail/1103
* 备 注:
* ********** description ************
* @name: boxjs.rtcRoomItemRemove
* @authority: swanAPI
* @path: /rtcRoomItem/remove
* @args: [{"name": "slaveId", "value": "string"},{"name": "rtcRoomItemId", "value": "string="},{"name": "componentId","value": "string="}, {"name":"roomId","value":"string"}]
* @config: {"swan": {"web": {"invoke": "swan.message.url", "handler": "bridge"}, "jsc": {"invoke": "swan.method.url", "method": "_naSwan.bridge.postMessage"}}}
*/
- (void)remove:(BBASchemeDispatcher *)dispatcher;
@end
NS_ASSUME_NONNULL_END