Skip to content

TikTokLive

class io.github.jwdeveloper.tiktok.client.TikTokLive

public class TikTokLive
public static boolean isHostNameValid(String hostName)

Example: https://www.tiktok.com/@dostawcavideo - hostName would be ‘dostawcavideo’

  • hostName (String) — profile name of TikTok user could be found in profile link

boolean — true is hostName name is valid and exists, false if not

public static CompletableFuture<Boolean> isHostNameValidAsync(String hostName)

Example: https://www.tiktok.com/@dostawcavideo - hostName would be ‘dostawcavideo’

  • hostName (String) — profile name of TikTok user could be found in profile link

CompletableFuture<Boolean> — true is hostName name is valid and exists, false if not

public static boolean isLiveOnline(String hostName)

Example: https://www.tiktok.com/@dostawcavideo - hostName would be ‘dostawcavideo’

  • hostName (String) — profile name of TikTok user could be found in profile link

boolean — true if live is Online, false if is offline

public static CompletableFuture<Boolean> isLiveOnlineAsync(String hostName)

Example: https://www.tiktok.com/@dostawcavideo - hostName would be ‘dostawcavideo’

  • hostName (String) — profile name of TikTok user could be found in profile link

CompletableFuture<Boolean> — CompletableFuture of true if live is Online, false if is offline

public static LiveClientBuilder newClient(String hostName)

Example: https://www.tiktok.com/@dostawcavideo - hostName would be ‘dostawcavideo’

  • hostName (String) — profile name of TikTok user could be found in profile link

LiveClientBuilder — LiveClientBuilder

public static LiveHttpClient requests()

Use to get some data from TikTok about users are lives

LiveHttpClient — LiveHttpClient

public static LiveHttpClient requests(Consumer<LiveClientSettings> consumer)

Use to get some data from TikTok about users are lives

LiveHttpClient — LiveHttpClient

Client/src/main/java/io/github/jwdeveloper/tiktok/client/TikTokLive.java:32