Klasse ChannelBitsData
java.lang.Object
com.github.twitch4j.pubsub.domain.ChannelBitsData
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanIf a non-anonymous user reached a new badge level with this cheer, this object will contain more information regarding the new levelThe number of bits usedThe id for the channel where the bits were usedThe login name of the channel where the bits were usedThe message sent with the cheerThe event type for this bits usage (e.g.getTime()RFC 3339 timestamp of when the bits were usedA cumulative total of all bits this user has cheered in this channelThe id for the user that cheeredThe login name for the user that cheeredinthashCode()Whether or not the event was anonymousisAnonymous(Boolean isAnonymous) Whether or not the event was anonymousvoidsetBadgeEntitlement(ChannelBitsData.BadgeEntitlement badgeEntitlement) If a non-anonymous user reached a new badge level with this cheer, this object will contain more information regarding the new levelvoidsetBitsUsed(Integer bitsUsed) The number of bits usedvoidsetChannelId(String channelId) The id for the channel where the bits were usedvoidsetChannelName(String channelName) The login name of the channel where the bits were usedvoidsetChatMessage(String chatMessage) The message sent with the cheervoidsetContext(String context) The event type for this bits usage (e.g.voidRFC 3339 timestamp of when the bits were usedvoidsetTotalBitsUsed(Integer totalBitsUsed) A cumulative total of all bits this user has cheered in this channelvoidThe id for the user that cheeredvoidsetUserName(@Nullable String userName) The login name for the user that cheeredtoString()
-
Konstruktordetails
-
ChannelBitsData
public ChannelBitsData()
-
-
Methodendetails
-
getTimeAsInstant
- Gibt zurück:
- the parsed time in an Instant wrapper
-
getUserId
The id for the user that cheered -
getUserName
The login name for the user that cheered -
getChannelId
The id for the channel where the bits were used -
getChannelName
The login name of the channel where the bits were used -
getTime
RFC 3339 timestamp of when the bits were used -
getChatMessage
The message sent with the cheer -
getBitsUsed
The number of bits used -
getTotalBitsUsed
A cumulative total of all bits this user has cheered in this channel -
getContext
The event type for this bits usage (e.g. "cheer") -
getBadgeEntitlement
If a non-anonymous user reached a new badge level with this cheer, this object will contain more information regarding the new level -
isAnonymous
Whether or not the event was anonymous -
setUserId
The id for the user that cheered -
setUserName
The login name for the user that cheered -
setChannelId
The id for the channel where the bits were used -
setChannelName
The login name of the channel where the bits were used -
setTime
RFC 3339 timestamp of when the bits were used -
setChatMessage
The message sent with the cheer -
setBitsUsed
The number of bits used -
setTotalBitsUsed
A cumulative total of all bits this user has cheered in this channel -
setContext
The event type for this bits usage (e.g. "cheer") -
setBadgeEntitlement
If a non-anonymous user reached a new badge level with this cheer, this object will contain more information regarding the new level -
isAnonymous
Whether or not the event was anonymous- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-