Package com.github.twitch4j.domain
Class ChannelCache
java.lang.Object
com.github.twitch4j.domain.ChannelCache
Channel Cache
-
Constructor Summary
ConstructorDescriptionChannelCache
(String userName) Construct Channel CacheCreates a newChannelCache
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Clip Query Started AtTotal Follow CountCurrent Game IdIsLiveLast Follow CheckgetTitle()
Stream TitleUser NameCurrent Viewer Countint
hashCode()
void
Current Game Idvoid
IsLivevoid
setLastFollowCheck
(Instant lastFollowCheck) Last Follow Checkvoid
Stream Titlevoid
setUserName
(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 newChannelCache
instance.- 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
-