class io.github.jwdeveloper.tiktok.api.data.events.control.TikTokPreConnectionEvent
Signature
Section titled “Signature”@Getter@EventMeta(eventType = EventType.Control)public class TikTokPreConnectionEvent extends TikTokLiveClientEventFields
Section titled “Fields”cancelConnection(boolean, getter, setter) =falsereason(String, getter, setter) ="TikTokPreConnectionEvent cancelled connection!"roomData(LiveData.Response, getter)userData(LiveUserData.Response, getter)
Constructors
Section titled “Constructors”TikTokPreConnectionEvent
Section titled “TikTokPreConnectionEvent”public TikTokPreConnectionEvent(LiveUserData.Response userData, LiveData.Response liveData)Parameters
Section titled “Parameters”userData(LiveUserData.Response)liveData(LiveData.Response)
Methods
Section titled “Methods”setCancelConnection
Section titled “setCancelConnection”public void setCancelConnection(boolean cancelConnection, String reason)Parameters
Section titled “Parameters”cancelConnection(boolean)reason(String)