Class StreamOffline
java.lang.Object
com.gmt2001.twitch.eventsub.EventSubSubscriptionType
com.gmt2001.twitch.eventsub.subscriptions.stream.StreamOffline
- All Implemented Interfaces:
- Flow.Subscriber<EventSubInternalEvent>
The specified broadcaster stops a stream.
- Author:
- gmt2001
- 
Field SummaryFieldsFields inherited from class com.gmt2001.twitch.eventsub.EventSubSubscriptionTypeflowsubscription, messageId, messageTimestamp, subscription
- 
Constructor SummaryConstructorsConstructorDescriptionOnly used by EventSub for handler registrationUsed byonEventSubInternalNotificationEvent(com.gmt2001.twitch.eventsub.EventSubInternalNotificationEvent)to construct an object from an incoming notificationStreamOffline(String broadcaster_user_id) Constructor
- 
Method SummaryModifier and TypeMethodDescriptionThe broadcaster's user ID.The broadcaster's user login.The broadcaster's user display name.protected booleanisMatch(EventSubSubscription subscription) Returns true if the provided subscription is an instance of the current subscription type and matches the current subscription conditionsprotected voidprotected EventSubSubscriptionCompiles the parameters of this object into anEventSubSubscriptionthat can be createdprotected voidValidates that the provided parameters are acceptable for use inEventSubSubscriptionType.proposeSubscription()Methods inherited from class com.gmt2001.twitch.eventsub.EventSubSubscriptionTypecreate, delete, deleteAll, findMatchingSubscriptionId, findMatchingSubscriptionIds, getExistingSubscription, isAlreadySubscribed, messageId, messageTimestamp, onComplete, onError, onEventSubInternalEvent, onEventSubInternalRevocationEvent, onEventSubInternalVerificationEvent, onNext, onSubscribe, proposeSubscriptionInternal, proposeTransport, subscribe, subscription
- 
Field Details- 
TYPE- See Also:
 
- 
VERSION- See Also:
 
 
- 
- 
Constructor Details- 
StreamOfflinepublic StreamOffline()Only used by EventSub for handler registration
- 
StreamOfflineUsed byonEventSubInternalNotificationEvent(com.gmt2001.twitch.eventsub.EventSubInternalNotificationEvent)to construct an object from an incoming notification- Parameters:
- e- The event
 
- 
StreamOfflineConstructor- Parameters:
- broadcaster_user_id- The user id of the broadcaster
 
 
- 
- 
Method Details- 
proposeSubscriptionDescription copied from class:EventSubSubscriptionTypeCompiles the parameters of this object into anEventSubSubscriptionthat can be created- Specified by:
- proposeSubscriptionin class- EventSubSubscriptionType
- Returns:
 
- 
validateParametersDescription copied from class:EventSubSubscriptionTypeValidates that the provided parameters are acceptable for use inEventSubSubscriptionType.proposeSubscription()- Specified by:
- validateParametersin class- EventSubSubscriptionType
- Throws:
- IllegalArgumentException- One of the parameters is not acceptable
 
- 
onEventSubInternalNotificationEvent- Overrides:
- onEventSubInternalNotificationEventin class- EventSubSubscriptionType
 
- 
isMatchDescription copied from class:EventSubSubscriptionTypeReturns true if the provided subscription is an instance of the current subscription type and matches the current subscription conditions- Specified by:
- isMatchin class- EventSubSubscriptionType
- Returns:
 
- 
broadcasterUserIdThe broadcaster's user ID.- Returns:
 
- 
broadcasterUserLoginThe broadcaster's user login.- Returns:
 
- 
broadcasterUserNameThe broadcaster's user display name.- Returns:
 
 
-