public void onGetLiveRoomInfoDone(LiveRoomInfoEvent event) { if (event.getResult() == WarpResponseResultCode.SUCCESS) { RoomInformation.pushRoomEvent(event.getData().getId(), event); callBack.onGetLiveRoomInfo(event); } else { callBack.onGetLiveRoomInfo(null); } }
public void onSubscribeRoomDone(RoomEvent event) { if (event.getResult() == WarpResponseResultCode.SUCCESS) { System.out.println("ROLI: onSubscribeDone : SUCCESS"); callBack.onRoomSubscribed(event.getData().getId()); } else { System.out.println("ROLI: onSubscribeDone : NO SUCCESS"); callBack.onRoomSubscribed(null); } }
public void onJoinRoomDone(RoomEvent event) { callBack.onJoinRoomDone(event); }