Package com.github.twitch4j
Interface ITwitchClient
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
TwitchClient
,TwitchClientPool
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
getChat()
Get ChatGet TwitchClientHelpercom.github.philippheuer.events4j.core.EventManager
Get the event managerGet EventSocket (in public beta)Deprecated.Migrate to Helix.Get GraphQLgetHelix()
Get HelixDeprecated.Decommissioned by Twitch.Get MessagingInterface (API)Get Module LoaderGet PubSub
-
Method Details
-
getEventManager
com.github.philippheuer.events4j.core.EventManager getEventManager()Get the event manager- Returns:
- EventManager
-
getExtensions
Deprecated.Migrate to Helix.Get Extensions- Returns:
- TwitchExtensions
-
getHelix
TwitchHelix getHelix()Get Helix- Returns:
- TwitchHelix
-
getKraken
Deprecated.Decommissioned by Twitch.Get Kraken- Returns:
- TwitchKraken
-
getMessagingInterface
Get MessagingInterface (API)- Returns:
- TwitchMessagingInterface
-
getChat
ITwitchChat getChat()Get Chat- Returns:
- ITwitchChat
-
getEventSocket
Get EventSocket (in public beta)- Returns:
- IEventSubSocket
-
getPubSub
ITwitchPubSub getPubSub()Get PubSub- Returns:
- ITwitchPubSub
-
getGraphQL
Get GraphQLThis is an unofficial API that is not intended for third-party use. Use at your own risk. Methods could change or stop working at any time.
- Returns:
- TwitchGraphQL
-
getModuleLoader
ModuleLoader getModuleLoader()Get Module Loader- Returns:
- ModuleLoader
-
getClientHelper
TwitchClientHelper getClientHelper()Get TwitchClientHelper- Returns:
- TwitchClientHelper
-
close
default void close()- Specified by:
close
in interfaceAutoCloseable
-