Package tv.phantombot.event.twitch.clip
Class TwitchClipEvent
java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.twitch.TwitchEvent
tv.phantombot.event.twitch.clip.TwitchClipEvent
-
Constructor Summary
ConstructorsConstructorDescriptionTwitchClipEvent(String clipURL, String creator, String clipTitle, JSONObject thumbnailObj) Class constructor.TwitchClipEvent(String clipURL, String creator, String clipTitle, JSONObject thumbnailObj, String gameid) Class constructor. -
Method Summary
Modifier and TypeMethodDescriptionMethod that returns the clip title.Method that returns the clip URL.Method that returns the clip creator.Method that returns the game ID.Method that returns the object of thumnails.
-
Constructor Details
-
TwitchClipEvent
public TwitchClipEvent(String clipURL, String creator, String clipTitle, JSONObject thumbnailObj, String gameid) Class constructor.- Parameters:
clipURL-creator-clipTitle-thumbnailObj-
-
TwitchClipEvent
Class constructor.- Parameters:
clipURL-creator-clipTitle-thumbnailObj-
-
-
Method Details
-
getClipURL
Method that returns the clip URL.- Returns:
- clipURL
-
getCreator
Method that returns the clip creator.- Returns:
- creator
-
getClipTitle
Method that returns the clip title.- Returns:
- clipTitle
-
getThumbnailObject
Method that returns the object of thumnails.- Returns:
- thumbnailObj
-
getGameID
Method that returns the game ID. This may be null if not provided.- Returns:
- gameid
-