MCPcopy Index your code
hub / github.com/ddssingsong/webrtc_android / IEvent

Interface IEvent

app/src/main/java/com/dds/java/socket/IEvent.java:7–47  ·  view source on GitHub ↗

Created by dds on 2019/7/26. android_shuai@163.com

Source from the content-addressed store, hash-verified

5 * android_shuai@163.com
6 */
7public interface IEvent {
8
9 void onOpen();
10
11 void loginSuccess(String userId, String avatar);
12
13
14 void onInvite(String room, boolean audioOnly, String inviteId, String userList);
15
16
17 void onCancel(String inviteId);
18
19 void onRing(String userId);
20
21
22 void onPeers(String myId, String userList);
23
24 void onNewPeer(String myId);
25
26 void onReject(String userId, int type);
27
28 // onOffer
29 void onOffer(String userId, String sdp);
30
31 // onAnswer
32 void onAnswer(String userId, String sdp);
33
34 // ice-candidate
35 void onIceCandidate(String userId, String id, int label, String candidate);
36
37 void onLeave(String userId);
38
39 void logout(String str);
40
41 void onTransAudio(String userId);
42
43 void onDisConnect(String userId);
44
45 void reConnect();
46
47}

Callers 17

onOpenMethod · 0.65
handleLoginMethod · 0.65
handleInviteMethod · 0.65
handleCancelMethod · 0.65
handleRingMethod · 0.65
handlePeersMethod · 0.65
handleNewPeerMethod · 0.65
handleRejectMethod · 0.65
handleOfferMethod · 0.65
handleAnswerMethod · 0.65
handleIceCandidateMethod · 0.65
handleLeaveMethod · 0.65

Implementers 1

SocketManagerapp/src/main/java/com/dds/java/socket/

Calls

no outgoing calls

Tested by

no test coverage detected