Package tv.phantombot.twitch.emotes
Class BttvApiV3
java.lang.Object
tv.phantombot.twitch.emotes.BttvApiV3
- All Implemented Interfaces:
EmoteProvider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionRetrieves all emotes which are globally available to all users of the emote providerRetrieves all emotes which are local to the channel by the emote providerReturns the name of the provider (for code usage, not for human reading)Retrieves all emotes which are selected from a shared pool of the emote provider and thus not exclusive to the channel but allowed to use under the terms of the providerstatic EmoteProvider
instance()
-
Field Details
-
PROVIDER_NAME
- See Also:
-
-
Method Details
-
instance
-
getGlobalEmotes
Description copied from interface:EmoteProvider
Retrieves all emotes which are globally available to all users of the emote provider- Specified by:
getGlobalEmotes
in interfaceEmoteProvider
- Returns:
- list of all globally available emotes of the provider or null if not supported
- Throws:
EmoteApiRequestFailedException
- when the api request or parsing of the response fails
-
getLocalEmotes
Description copied from interface:EmoteProvider
Retrieves all emotes which are local to the channel by the emote provider- Specified by:
getLocalEmotes
in interfaceEmoteProvider
- Returns:
- list of all emotes local to the channel of the provider or null if not supported
- Throws:
EmoteApiRequestFailedException
- when the api request or parsing of the response fails
-
getProviderName
Description copied from interface:EmoteProvider
Returns the name of the provider (for code usage, not for human reading)- Specified by:
getProviderName
in interfaceEmoteProvider
- Returns:
- the codename of the provider
-