Class ChannelUpdateFlagsEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.GenericChannelEvent
net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent<EnumSet<ChannelFlag>>
net.dv8tion.jda.api.events.channel.update.ChannelUpdateFlagsEvent
- All Implemented Interfaces:
GenericEvent, UpdateEvent<Channel, EnumSet<ChannelFlag>>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChannelUpdateFlagsEvent(JDA api, long responseNumber, Channel channel, EnumSet<ChannelFlag> oldValue, EnumSet<ChannelFlag> newValue) -
Method Summary
Methods inherited from class GenericChannelUpdateEvent
getEntity, getPropertyIdentifierMethods inherited from class GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromTypeMethods inherited from class Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from interface GenericEvent
getJDA, getRawData, getResponseNumberMethods inherited from interface UpdateEvent
getEntityType
-
Field Details
-
FIELD
-
IDENTIFIER
-
-
Constructor Details
-
ChannelUpdateFlagsEvent
public ChannelUpdateFlagsEvent(@Nonnull JDA api, long responseNumber, @Nonnull Channel channel, @Nonnull EnumSet<ChannelFlag> oldValue, @Nonnull EnumSet<ChannelFlag> newValue)
-
-
Method Details
-
getOldValue
Description copied from class:GenericChannelUpdateEventTheChannel'sold value of the just updated field.- Specified by:
getOldValuein interfaceUpdateEvent<Channel, EnumSet<ChannelFlag>>- Overrides:
getOldValuein classGenericChannelUpdateEvent<EnumSet<ChannelFlag>>- Returns:
- The old value of the just updated field.
-
getNewValue
Description copied from class:GenericChannelUpdateEventTheChannel'snew value of the just updated field.- Specified by:
getNewValuein interfaceUpdateEvent<Channel, EnumSet<ChannelFlag>>- Overrides:
getNewValuein classGenericChannelUpdateEvent<EnumSet<ChannelFlag>>- Returns:
- The new value of the just updated field.
-