JW
f7a92d5015
- refactor of the Http client
...
Changes:
Http-client settings in configure method
```
TikTokLive.newClient("X")
.configure(liveClientSettings ->
{
var httpSetting = liveClientSettings.getHttpSettings();
httpSetting.setTimeout(Duration.ofSeconds(12));
});
```
`TikTokLive.requests()` Easy and quick way of making
http request to tiktok
```
var giftsResponse =TikTokLive.request.fetchGiftsData();
```
Removed:
TikTokLive.isLiveOnline(String hostName);
TikTokLive.isHostNameValidAsync(String hostName);
instead you can use
```
TikTokLive.requests().fetchLiveUserData("Mike").getUserStatus()
```
2024-01-05 17:21:55 +01:00
JW
0bb8edfe5c
Including toUser in TikTokGiftEvent
2023-12-19 21:31:58 +01:00
JW
3eed982d6b
Changes:
...
- TikTokHttpResponseEvent
- Fixed User attributes in CommentEvent
- Redesign .onMapper method
2023-12-19 04:01:06 +01:00
JW
82990665b8
Changes:
...
updated structure of WebcastLinkLayerMessage
in proto file
2023-12-12 19:38:55 +01:00
JW
4dd866c6cc
Changes:
...
onCustomEvent() <- registering custom events
onMapping() <- custom mappings
check out 'CustomMappingExample'
more gifs has been added
exceptions are more explicit
2023-12-11 23:22:38 +01:00
JW
3832db111e
Changes:
...
onCustomEvent() <- registering custom events
onMapping() <- custom mappings
check out 'CustomMappingExample'
more gifs has been added
exceptions are more explicit
2023-12-11 23:18:40 +01:00
JW
46d5f15d3f
.
2023-12-11 03:56:17 +01:00
JW
6d268c42f1
Changes:
...
Generated new Gifts Json
TikTokLive.isLiveOnline() new method for checking if live if online
TikTokLive.isLiveOnlineAsync()
2023-11-10 22:05:01 +01:00
JW
65a2d5cfff
Breaking changes:
...
'Gift': changed from class to enum, so now you can handle
incoming gifts in switch
`Events`
- new:
onGiftComboFinished
- Removed:
onGiftBrodcast
- Rename:
onGiftMessage -> onGift
onRoomPinMessage -> onRoomPin
onRoomMessage -> onRoom
onLinkMessage -> onLink
onBarrageMessage -> onBarrage
onPollMessage -> onPoll
onShopMessage -> onShop
onDetectMessage -> onDetect
`GiftManager`
added:
registerGift
findById
findByName
getGifts
removed:
getActiveGifts
2023-10-06 02:31:40 +02:00
JW
9f4c1c8c92
Breaking changes:
...
'Gift': changed from class to enum, so now you can handle
incoming gifts in switch
`Events`
- new:
onGiftComboFinished
- Removed:
onGiftBrodcast
- Rename:
onGiftMessage -> onGift
onRoomPinMessage -> onRoomPin
onRoomMessage -> onRoom
onLinkMessage -> onLink
onBarrageMessage -> onBarrage
onPollMessage -> onPoll
onShopMessage -> onShop
onDetectMessage -> onDetect
`GiftManager`
added:
registerGift
findById
findByName
getGifts
removed:
getActiveGifts
2023-10-05 16:52:05 +02:00
JW
f0d7cb0cbc
Breaking changes:
...
'Gift': changed from class to enum, so now you can handle
incoming gifts in switch
`Events`
- new:
onGiftComboFinished
- Removed:
onGiftBrodcast
- Rename:
onGiftMessage -> onGift
onRoomPinMessage -> onRoomPin
onRoomMessage -> onRoom
onLinkMessage -> onLink
onBarrageMessage -> onBarrage
onPollMessage -> onPoll
onShopMessage -> onShop
onDetectMessage -> onDetect
`GiftManager`
added:
registerGift
findById
findByName
getGifts
removed:
getActiveGifts
2023-10-05 09:04:39 +02:00
JW
f55cbcae7e
Breaking changes:
...
'Gift': changed from class to enum, so now you can handle
incoming gifts in switch
`Events`
- new:
onGiftComboFinished
- Removed:
onGiftBrodcast
- Rename:
onGiftMessage -> onGift
onRoomPinMessage -> onRoomPin
onRoomMessage -> onRoom
onLinkMessage -> onLink
onBarrageMessage -> onBarrage
onPollMessage -> onPoll
onShopMessage -> onShop
onDetectMessage -> onDetect
`GiftManager`
added:
registerGift
findById
findByName
getGifts
removed:
getActiveGifts
2023-10-05 02:25:10 +02:00