Signature
Section titled “Signature”public class TikTokLiveClientBuilder implements LiveClientBuilderConstructors
Section titled “Constructors”TikTokLiveClientBuilder
Section titled “TikTokLiveClientBuilder”public TikTokLiveClientBuilder(String userName)Parameters
Section titled “Parameters”userName(String)
Methods
Section titled “Methods”addListener
Section titled “addListener”public TikTokLiveClientBuilder addListener(Object listener)Parameters
Section titled “Parameters”listener(Object)
Returns
Section titled “Returns”public LiveClient build()Returns
Section titled “Returns”buildAndConnect
Section titled “buildAndConnect”public LiveClient buildAndConnect()Returns
Section titled “Returns”buildAndConnectAsync
Section titled “buildAndConnectAsync”public CompletableFuture<LiveClient> buildAndConnectAsync()Returns
Section titled “Returns”CompletableFuture<LiveClient>
configure
Section titled “configure”public TikTokLiveClientBuilder configure(Consumer<LiveClientSettings> onConfigure)Parameters
Section titled “Parameters”onConfigure(Consumer<LiveClientSettings>)
Returns
Section titled “Returns”customize
Section titled “customize”@Overridepublic LiveClientBuilder customize(Consumer<DependanceContainerBuilder> onCustomizeDependencies)Parameters
Section titled “Parameters”onCustomizeDependencies(Consumer<DependanceContainerBuilder>)
Returns
Section titled “Returns”mappings
Section titled “mappings”public LiveClientBuilder mappings(Consumer<LiveMapper> consumer)Parameters
Section titled “Parameters”consumer(Consumer<LiveMapper>)
Returns
Section titled “Returns”onEvent
Section titled “onEvent”@Overridepublic <E extends TikTokEvent> LiveClientBuilder onEvent(Class<E> eventClass, EventConsumer<E> action)Parameters
Section titled “Parameters”eventClass(Class<E>)action(EventConsumer<E>)
Returns
Section titled “Returns”Source
Section titled “Source”Client/src/main/java/io/github/jwdeveloper/tiktok/client/TikTokLiveClientBuilder.java:51