Class HypeTrainEndType
java.lang.Object
com.github.twitch4j.eventsub.subscriptions.HypeTrainEndType
- All Implemented Interfaces:
SubscriptionType<HypeTrainEndCondition,HypeTrainEndCondition.HypeTrainEndConditionBuilder<?, ?>, HypeTrainEndEvent>
@Deprecated
public class HypeTrainEndType
extends Object
implements SubscriptionType<HypeTrainEndCondition,HypeTrainEndCondition.HypeTrainEndConditionBuilder<?,?>,HypeTrainEndEvent>
Deprecated.
A hype train ends on the specified channel.
Must have channel:read:hype_train scope.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The parameters inside these objects differ by subscription type and may differ by version.Deprecated.getName()Deprecated.Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.twitch4j.eventsub.subscriptions.SubscriptionType
getConditionClass, isBatchingEnabled, prepareSubscription
-
Constructor Details
-
HypeTrainEndType
public HypeTrainEndType()Deprecated.
-
-
Method Details
-
getName
Deprecated.- Specified by:
getNamein interfaceSubscriptionType<HypeTrainEndCondition,HypeTrainEndCondition.HypeTrainEndConditionBuilder<?, ?>, HypeTrainEndEvent> - Returns:
- the subscription type name.
-
getVersion
Deprecated.- Specified by:
getVersionin interfaceSubscriptionType<HypeTrainEndCondition,HypeTrainEndCondition.HypeTrainEndConditionBuilder<?, ?>, HypeTrainEndEvent> - Returns:
- the subscription type version.
-
getConditionBuilder
Deprecated.Description copied from interface:SubscriptionTypeThe parameters inside these objects differ by subscription type and may differ by version.- Specified by:
getConditionBuilderin interfaceSubscriptionType<HypeTrainEndCondition,HypeTrainEndCondition.HypeTrainEndConditionBuilder<?, ?>, HypeTrainEndEvent> - Returns:
- Subscription-specific parameter builder.
-
getEventClass
Deprecated.- Specified by:
getEventClassin interfaceSubscriptionType<HypeTrainEndCondition,HypeTrainEndCondition.HypeTrainEndConditionBuilder<?, ?>, HypeTrainEndEvent> - Returns:
- the associated event class for this subscription type.
-
HypeTrainEndV2Type