Last active
June 29, 2022 07:04
-
-
Save larryluoo/883a5d2d4086317de0b6668a550b84a1 to your computer and use it in GitHub Desktop.
setListener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZegoGiftService giftService = ZegoRoomManager.getInstance().giftService; | |
giftService.setListener(new ZegoGiftServiceListener() -> { | |
// Implement the callback handling logic as needed. | |
}); | |
ZegoMessageService messageService = ZegoRoomManager.getInstance().messageService; | |
messageService.setListener(new ZegoMessageServiceListener() -> { | |
// Implement the callback handling logic as needed. | |
}); | |
ZegoUserService userService = ZegoRoomManager.getInstance().userService; | |
userService.setListener(new ZegoUserServiceListener() { | |
// Implement the callback handling logic as needed. | |
}); | |
ZegoSpeakerSeatService seatService = ZegoRoomManager.getInstance().speakerSeatService; | |
seatService.setListener(new ZegoSpeakerSeatServiceListener(){ | |
// Implement the callback handling logic as needed. | |
}) | |
ZegoRoomService roomService = ZegoRoomManager.getInstance().roomService; | |
roomService.setListener(new ZegoRoomServiceListener() { | |
// Implement the callback handling logic as needed. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment