Schnittstelle SubscriptionType<C extends EventSubCondition,B,E extends EventSubEvent>
- Alle bekannten Implementierungsklassen:
AutomodSettingsUpdateType,AutomodTermsUpdateType,ChannelAdBreakBeginType,ChannelBanType,ChannelCharityDonateType,ChannelChatClearType,ChannelChatMessageType,ChannelChatNotificationType,ChannelChatSettingsUpdateType,ChannelCheerType,ChannelClearUserMessagesType,ChannelFollowType,ChannelFollowTypeV2,ChannelGoalBeginType,ChannelGoalEndType,ChannelGoalProgressType,ChannelMessageDeleteType,ChannelModeratorAddType,ChannelModeratorRemoveType,ChannelPointsAutomaticRewardRedemptionAddType,ChannelPointsCustomRewardAddType,ChannelPointsCustomRewardRedemptionAddType,ChannelPointsCustomRewardRedemptionUpdateType,ChannelPointsCustomRewardRemoveType,ChannelPointsCustomRewardUpdateType,ChannelRaidType,ChannelSubscribeType,ChannelSubscriptionEndType,ChannelSubscriptionGiftType,ChannelSubscriptionMessageType,ChannelUnbanType,ChannelUpdateType,ChannelUpdateV2Type,CharityCampaignProgressType,CharityCampaignStartType,CharityCampaignStopType,ConduitShardDisabledType,DropEntitlementGrantType,ExtensionBitsTransactionCreateType,HypeTrainBeginType,HypeTrainEndType,HypeTrainProgressType,PollBeginType,PollEndType,PollProgressType,PredictionBeginType,PredictionEndType,PredictionLockType,PredictionProgressType,ShieldModeBeginType,ShieldModeEndType,ShoutoutCreateType,ShoutoutReceiveType,StreamOfflineType,StreamOnlineType,UnbanRequestCreateType,UnbanRequestResolveType,UserAuthorizationGrantType,UserAuthorizationRevokeType,UserUpdateType
public interface SubscriptionType<C extends EventSubCondition,B,E extends EventSubEvent>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe parameters inside these objects differ by subscription type and may differ by version.getName()default booleandefault EventSubSubscriptionprepareSubscription(Function<B, C> conditions, EventSubTransport transport)
-
Methodendetails
-
getName
String getName()- Gibt zurück:
- the subscription type name.
-
getVersion
String getVersion()- Gibt zurück:
- the subscription type version.
-
getConditionBuilder
B getConditionBuilder()The parameters inside these objects differ by subscription type and may differ by version.- Gibt zurück:
- Subscription-specific parameter builder.
-
getEventClass
- Gibt zurück:
- the associated event class for this subscription type.
-
isBatchingEnabled
default boolean isBatchingEnabled()- Gibt zurück:
- whether Twitch batches events for this subscription type.
-
getConditionClass
-
prepareSubscription
default EventSubSubscription prepareSubscription(Function<B, C> conditions, EventSubTransport transport)
-