Signature
Section titled “Signature”@Datapublic class TikTokRoomInfo implements LiveRoomInfoFields
Section titled “Fields”ageRestricted(boolean, getter, setter)connectionState(ConnectionState, getter, setter) =ConnectionState.DISCONNECTEDhost(User, getter, setter)hostName(String, getter, setter)language(String, getter, setter) ="en"likesCount(int, getter, setter)roomId(String, getter, setter)startTime(long, getter, setter)title(String, getter, setter)totalViewersCount(int, getter, setter)usersRanking(List<RankingUser>, getter, setter)viewersCount(int, getter, setter)
Constructors
Section titled “Constructors”- Lombok
@Datagenerates a constructor taking the final and@NonNullfields.
Methods
Section titled “Methods”@Overridepublic void copy(LiveRoomInfo roomInfo)Parameters
Section titled “Parameters”roomInfo(LiveRoomInfo)
hasConnectionState
Section titled “hasConnectionState”public boolean hasConnectionState(ConnectionState state)Parameters
Section titled “Parameters”state(ConnectionState)
Returns
Section titled “Returns”boolean
updateRanking
Section titled “updateRanking”public void updateRanking(List<RankingUser> rankingUsers)Parameters
Section titled “Parameters”rankingUsers(List<RankingUser>)
Source
Section titled “Source”Client/src/main/java/io/github/jwdeveloper/tiktok/client/TikTokRoomInfo.java:34