Klasse ChannelPointsCustomRewardEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.ChannelPointsCustomRewardEvent
- Bekannte direkte Unterklassen:
CustomRewardAddEvent,CustomRewardRemoveEvent,CustomRewardUpdateEvent
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanCustom background color for the reward.Timestamp of the cooldown expiration.getCost()The reward cost.Set of default images of 1x, 2x and 4x sizes for the reward.Whether a cooldown is enabled and what the cooldown is in seconds.getId()The reward identifier.getImage()Set of custom images of 1x, 2x and 4x sizes for the reward.Whether a maximum per stream is enabled and what the maximum is.Whether a maximum per user per stream is enabled and what the maximum is.The reward description.The number of redemptions redeemed during the current live stream.Whether redemptions should be set to fulfilled status immediately when redeemed and skip the request queue instead of the normal unfulfilled status.getTitle()The reward title.inthashCode()Whether the reward is currently enabled.Whether the reward is currently in stock.isPaused()Whether the reward is currently paused.Whether the viewer needs to enter information when redeeming the reward.toString()Von Klasse geerbte Methoden com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName
-
Konstruktordetails
-
ChannelPointsCustomRewardEvent
public ChannelPointsCustomRewardEvent()
-
-
Methodendetails
-
getId
The reward identifier. -
isEnabled
Whether the reward is currently enabled. If false, the reward won’t show up to viewers. -
isPaused
Whether the reward is currently paused. If true, viewers can’t redeem. -
isInStock
Whether the reward is currently in stock. If false, viewers can’t redeem. -
getTitle
The reward title. -
getCost
The reward cost. -
getPrompt
The reward description. -
isUserInputRequired
Whether the viewer needs to enter information when redeeming the reward. -
getShouldRedemptionsSkipRequestQueue
Whether redemptions should be set to fulfilled status immediately when redeemed and skip the request queue instead of the normal unfulfilled status. -
getMaxPerStream
Whether a maximum per stream is enabled and what the maximum is. -
getMaxPerUserPerStream
Whether a maximum per user per stream is enabled and what the maximum is. -
getBackgroundColor
Custom background color for the reward. -
getImage
Set of custom images of 1x, 2x and 4x sizes for the reward. Can be null if no images have been uploaded. -
getDefaultImage
Set of default images of 1x, 2x and 4x sizes for the reward. -
getGlobalCooldown
Whether a cooldown is enabled and what the cooldown is in seconds. -
getCooldownExpiresAt
Timestamp of the cooldown expiration. null if the reward isn’t on cooldown. -
getRedemptionsRedeemedCurrentStream
The number of redemptions redeemed during the current live stream. Counts against the max_per_stream limit. null if the broadcasters stream isn’t live or max_per_stream isn’t enabled. -
toString
- Setzt außer Kraft:
toStringin KlasseEventSubChannelEvent
-
equals
- Setzt außer Kraft:
equalsin KlasseEventSubChannelEvent
-
canEqual
- Setzt außer Kraft:
canEqualin KlasseEventSubChannelEvent
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseEventSubChannelEvent
-