onCustomEvent() <- registering custom events
onMapping() <- custom mappings
check out 'CustomMappingExample'
more gifs has been added
exceptions are more explicit
onCustomEvent() <- registering custom events
onMapping() <- custom mappings
check out 'CustomMappingExample'
more gifs has been added
exceptions are more explicit
New Events
- onLiveUnpaused()
- onRoomInfo() triggered when LiveRoomInfo got updated
Removed:
- clientSettings.setHandleExistingEvents
- onRoom Replaced with onRoomInfo event
- onRoomUserInfo Replaced with onRoomInfo event
Gifts:
- onGift event was not triggered for the more expensive gifts
- onGiftCombo with more expensive gifts was stuck in the GiftSendType.Begin state
Fixed:
- setPrintToConsole(false) was not disabling logs
Changes:
Generated new Gifts Json
TikTokLive.isLiveOnline() check if live if online
TikTokLive.isLiveOnlineAsync()
TikTokLive.isHostNameValid() check if hostName is correct
TikTokLive.isHostNameValidAsync()
Changes:
Generated new Gifts Json
TikTokLive.isLiveOnline() check if live if online
TikTokLive.isLiveOnlineAsync()
TikTokLive.isHostNameValid() check if hostName is correct
TikTokLive.isHostNameValidAsync()
Generated new Gifts Json
TikTokLive.isLiveOnline() check if live if online
TikTokLive.isLiveOnlineAsync()
TikTokLive.isHostNameValid() check if hostName is correct
TikTokLive.isHostNameValidAsync()
Generated new Gifts Json
TikTokLive.isLiveOnline() check if live if online
TikTokLive.isLiveOnlineAsync()
TikTokLive.isHostNameValid() check if hostName is correct
TikTokLive.isHostNameValidAsync()
- addListeners() was throwing exception
- 404 response code was return while connecting to tiktok for some users
- configure.setRoomId() method for people that want to set roomId manually
- client.roomInfo().isAgeRestricted() check if live has age restriction
LiveRoomInfo
+ new method getConnectionState() getting current state of connection
+ ListenersManager
getBindingModels() renamed to getListeners()
+ Introducing documentation, each public interface got small documentation
+ New property in config .setSessionId()
+ New event: onReconnecting()
Bugs:
CommentEvent was throwing mapping exception
LiveRoomInfo
+ new method getConnectionState() getting current state of connection
+ ListenersManager
getBindingModels() renamed to getListeners()
+ Introducing documentation, each public interface got small documentation
+ New property in config .setSessionId()
+ New event: onReconnecting()
Bugs:
CommentEvent was throwing mapping exception
`TikTokEventListener` new method of listening events
see it at TestApplication/ListenerExample.java
Bugs:
- Fixed bug: Websocket was sending ping after it was closed
`onWebsocketMessage()` TikTokWebsocketMessageEvent new event that is
triggered when new ProtocolBuffer message come from TikTok server.
Should be mainly use for debuging purpose
Bugs:
- Fixed bug: WebcastSocialMessage was always triggering `TikTokShareEvent` events such as `TikTokLikeEvent`, `TikTokFollowEvent`, `TikTokShareEvent`, `TikTokJoinEvent` was ignored
- Fixed bug: Websocket was disconnecting when there was no incoming events for the while. Fixed by implementing background loop that pinging TikTok server every few ms.
- Fixed bug: Disconnect method was not working