Package com.github.twitch4j.domain
Class ChannelCache
java.lang.Object
com.github.twitch4j.domain.ChannelCache
Channel Cache
-
Constructor Summary
ConstructorsConstructorDescriptionChannelCache(String userName) Construct Channel CacheCreates a newChannelCacheinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanClip Query Started AtTotal Follow CountCurrent Game IdIsLiveLast Follow CheckgetTitle()Stream TitleUser NameCurrent Viewer CountinthashCode()voidCurrent Game IdvoidIsLivevoidsetLastFollowCheck(Instant lastFollowCheck) Last Follow CheckvoidStream TitlevoidsetUserName(String userName) User NametoString()
-
Constructor Details
-
ChannelCache
Construct Channel Cache- Parameters:
userName- the name of the channel.
-
ChannelCache
public ChannelCache() -
ChannelCache
public ChannelCache(String userName, Boolean isLive, String title, String gameId, Instant lastFollowCheck) Creates a newChannelCacheinstance.- Parameters:
userName- User NameisLive- IsLivetitle- Stream TitlegameId- Current Game IdlastFollowCheck- Last Follow Check
-
-
Method Details
-
getUserName
User Name -
getIsLive
IsLive -
getTitle
Stream Title -
getGameId
Current Game Id -
getViewerCount
Current Viewer Count -
getLastFollowCheck
Last Follow Check -
getFollowers
Total Follow Count -
getClipWindowStart
Clip Query Started At -
setUserName
User Name -
setIsLive
IsLive -
setTitle
Stream Title -
setGameId
Current Game Id -
setLastFollowCheck
Last Follow Check -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-