Class Emote
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic enumstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable StringID of the emote set the emote belongs to.@Nullable StringThe type of emote.The formats that the emote is available in.getId()ID of the emote.@Nullable Emote.ImagesThe image URLs for the emote.getName()Name of the emote a viewer types into Twitch chat for the image to appear.@Nullable StringUser ID of the broadcaster who owns the emote.@NonNull Emote.TypeAttempts 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 SubscriptionPlangetTier()The subscriber tier at which the emote is unlocked.inthashCode()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.STATICandEmote.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
-