Package tv.phantombot.twitch.emotes
Interface EmoteProvider
- All Known Implementing Classes:
BttvApiV3
,FrankerFacezApiV1
,SevenTVAPIv3
public interface EmoteProvider
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<EmoteEntry>
Retrieves all emotes which are globally available to all users of the emote providerdefault List<EmoteEntry>
Retrieves all emotes which are local to the channel by the emote providerReturns the name of the provider (for code usage, not for human reading)default List<EmoteEntry>
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 provider
-
Method Details
-
getProviderName
String getProviderName()Returns the name of the provider (for code usage, not for human reading)- Returns:
- the codename of the provider
-
getLocalEmotes
Retrieves all emotes which are local to the channel by the emote provider- 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
-
getGlobalEmotes
Retrieves all emotes which are globally available to all users of the emote provider- 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
-