UpdateEvent<VoiceChannel,T>
VoiceChannelUpdateBitrateEvent
, VoiceChannelUpdateNameEvent
, VoiceChannelUpdateParentEvent
, VoiceChannelUpdatePositionEvent
, VoiceChannelUpdateUserLimitEvent
public abstract class GenericVoiceChannelUpdateEvent<T> extends GenericVoiceChannelEvent implements UpdateEvent<VoiceChannel,T>
VoiceChannel
updated.
Can be used to detect any VoiceChannelUpdateEvent.
Constructor | Description |
---|---|
GenericVoiceChannelUpdateEvent(JDA api,
long responseNumber,
VoiceChannel channel) |
Modifier and Type | Method | Description |
---|---|---|
VoiceChannel |
getEntity() |
The affected entity
|
java.lang.String |
toString() |
getJDA, getResponseNumber
getChannel, getGuild
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType, getNewValue, getOldValue, getPropertyIdentifier
public GenericVoiceChannelUpdateEvent(JDA api, long responseNumber, VoiceChannel channel)
public VoiceChannel getEntity()
UpdateEvent
getEntity
in interface UpdateEvent<VoiceChannel,T>
public java.lang.String toString()
toString
in class java.lang.Object