Class Emote
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static enum
static enum
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@Nullable String
ID of the emote set the emote belongs to.@Nullable String
The type of emote.The formats that the emote is available in.getId()
ID of the emote.@Nullable Emote.Images
The image URLs for the emote.getName()
Name of the emote a viewer types into Twitch chat for the image to appear.@Nullable String
User ID of the broadcaster who owns the emote.@NonNull Emote.Type
Attempts to parse this emoteType to a knownEmote.Type
.getScale()
The sizes that the emote is available in.The background themes that the emote is available in.@Nullable SubscriptionPlan
getTier()
The subscriber tier at which the emote is unlocked.int
hashCode()
toString()
-
Constructor Details
-
Emote
public Emote()
-
-
Method Details
-
getParsedEmoteType
Attempts to parse this emoteType to a knownEmote.Type
.- Returns:
- the parsed
Emote.Type
. - See Also:
-
getId
ID of the emote. -
getName
Name of the emote a viewer types into Twitch chat for the image to appear. -
getImages
The image URLs for the emote.This is not present for
TwitchHelix.getUserEmotes(String, String, String, String)
; useEmoteList.getPopulatedTemplateUrl(String, Format, Theme, Scale)
. -
getEmoteSetId
ID of the emote set the emote belongs to.This is not present for
TwitchHelix.getGlobalEmotes(String)
. This is present forTwitchHelix.getChannelEmotes(String, String)
,TwitchHelix.getEmoteSets(String, Collection)
, andTwitchHelix.getUserEmotes(String, String, String, String)
. -
getFormat
The formats that the emote is available in.For example, if the emote is available only as a static PNG, the collection contains only
Emote.Format.STATIC
. But if it’s available as a static PNG and an animated GIF, the collection contains bothEmote.Format.STATIC
andEmote.Format.ANIMATED
. -
getScale
The sizes that the emote is available in. -
getThemeMode
The background themes that the emote is available in. -
getOwnerId
User ID of the broadcaster who owns the emote.This is only present for
TwitchHelix.getEmoteSets(String, Collection)
andTwitchHelix.getUserEmotes(String, String, String, String)
. -
getEmoteType
The type of emote.This is only present for
TwitchHelix.getChannelEmotes(String, String)
TwitchHelix.getEmoteSets(String, Collection)
, andTwitchHelix.getUserEmotes(String, String, String, String)
. -
getTier
The subscriber tier at which the emote is unlocked.This is only present when
getEmoteType()
equalsEmote.Type.SUBSCRIPTIONS
. Also, this can only be present when usingTwitchHelix.getChannelEmotes(String, String)
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-