Exemplo n.º 1
0
 public void onGetLiveRoomInfoDone(LiveRoomInfoEvent event) {
   if (event.getResult() == WarpResponseResultCode.SUCCESS) {
     RoomInformation.pushRoomEvent(event.getData().getId(), event);
     callBack.onGetLiveRoomInfo(event);
   } else {
     callBack.onGetLiveRoomInfo(null);
   }
 }
Exemplo n.º 2
0
 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);
   }
 }
Exemplo n.º 3
0
 public void onJoinRoomDone(RoomEvent event) {
   callBack.onJoinRoomDone(event);
 }