Package net.dv8tion.jda.api.events.stage
Class GenericStageInstanceEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.stage.GenericStageInstanceEvent
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GenericStageInstanceUpdateEvent
,StageInstanceCreateEvent
,StageInstanceDeleteEvent
Indicates that a
Every StageInstanceEvent is derived from this event and can be casted.
StageInstance
was created/deleted/changed.
Every StageInstanceEvent is derived from this event and can be casted.
Can be used to detect any StageInstanceEvent.
-
Constructor Summary
ConstructorDescriptionGenericStageInstanceEvent
(JDA api, long responseNumber, StageInstance stageInstance) -
Method Summary
Modifier and TypeMethodDescriptionTheStageChannel
this instance belongs toThe affectedStageInstance
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
GenericStageInstanceEvent
public GenericStageInstanceEvent(@Nonnull JDA api, long responseNumber, @Nonnull StageInstance stageInstance)
-
-
Method Details
-
getInstance
The affectedStageInstance
- Returns:
- The
StageInstance
-
getChannel
TheStageChannel
this instance belongs to- Returns:
- The StageChannel
-