From 450014759ca831d28693f87d4836abec7cb4473e Mon Sep 17 00:00:00 2001 From: Jacek W Date: Tue, 5 Dec 2023 02:17:50 +0100 Subject: [PATCH] Update collaboration.md --- collaboration.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/collaboration.md b/collaboration.md index 52bb43e..66f473a 100644 --- a/collaboration.md +++ b/collaboration.md @@ -165,7 +165,7 @@ from TikTok. -Next step is to open `TikTokLiveClientBuilder` and method for handling our new event +Next step is to open `TikTokLiveClientBuilder` and add method for handling our new event ``` java @@ -179,8 +179,8 @@ Next step is to open `TikTokLiveClientBuilder` and method for handling our new e -To make this method visible from `TikTokLive.newClient("asds").onCustomEvent()` we -need to also add it to interface `EventsBuilder` +To make `onCustomEvent` method visible from `TikTokLive.newClient("asds").onCustomEvent()` we +need to also include it to interface `EventsBuilder` ``` java T onCustomEvent(EventConsumer event); @@ -189,6 +189,12 @@ need to also add it to interface `EventsBuilder` ![image](https://github.com/jwdeveloper/TikTokLiveJava/assets/79764581/547f5d16-83fa-48ab-909e-993bf9af1a8e) + + + + + + Finally we are good to go, out event has been included! ![image](https://github.com/jwdeveloper/TikTokLiveJava/assets/79764581/36ad6f1f-b38c-4cf7-93bd-b4cc0638cba0)