Klasse PredictionEndType
java.lang.Object
com.github.twitch4j.eventsub.subscriptions.PredictionEndType
- Alle implementierten Schnittstellen:
SubscriptionType<ChannelPredictionEndCondition,ChannelPredictionEndCondition.ChannelPredictionEndConditionBuilder<?, ?>, ChannelPredictionEndEvent>
public class PredictionEndType
extends Object
implements SubscriptionType<ChannelPredictionEndCondition,ChannelPredictionEndCondition.ChannelPredictionEndConditionBuilder<?,?>,ChannelPredictionEndEvent>
The channel.prediction.end subscription type sends a notification when a Prediction ends on the specified channel.
Must have channel:read:predictions or channel:manage:predictions scope.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe parameters inside these objects differ by subscription type and may differ by version.getName()Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden com.github.twitch4j.eventsub.subscriptions.SubscriptionType
getConditionClass, isBatchingEnabled, prepareSubscription
-
Konstruktordetails
-
PredictionEndType
public PredictionEndType()
-
-
Methodendetails
-
getName
- Angegeben von:
getNamein SchnittstelleSubscriptionType<ChannelPredictionEndCondition,ChannelPredictionEndCondition.ChannelPredictionEndConditionBuilder<?, ?>, ChannelPredictionEndEvent> - Gibt zurück:
- the subscription type name.
-
getVersion
- Angegeben von:
getVersionin SchnittstelleSubscriptionType<ChannelPredictionEndCondition,ChannelPredictionEndCondition.ChannelPredictionEndConditionBuilder<?, ?>, ChannelPredictionEndEvent> - Gibt zurück:
- the subscription type version.
-
getConditionBuilder
public ChannelPredictionEndCondition.ChannelPredictionEndConditionBuilder<?,?> getConditionBuilder()Beschreibung aus Schnittstelle kopiert:SubscriptionTypeThe parameters inside these objects differ by subscription type and may differ by version.- Angegeben von:
getConditionBuilderin SchnittstelleSubscriptionType<ChannelPredictionEndCondition,ChannelPredictionEndCondition.ChannelPredictionEndConditionBuilder<?, ?>, ChannelPredictionEndEvent> - Gibt zurück:
- Subscription-specific parameter builder.
-
getEventClass
- Angegeben von:
getEventClassin SchnittstelleSubscriptionType<ChannelPredictionEndCondition,ChannelPredictionEndCondition.ChannelPredictionEndConditionBuilder<?, ?>, ChannelPredictionEndEvent> - Gibt zurück:
- the associated event class for this subscription type.
-