UpdateEvent<VoiceChannel,T>VoiceChannelUpdateBitrateEvent, VoiceChannelUpdateNameEvent, VoiceChannelUpdateParentEvent, VoiceChannelUpdatePositionEvent, VoiceChannelUpdateUserLimitEventpublic 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, getResponseNumbergetChannel, getGuildequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityType, getNewValue, getOldValue, getPropertyIdentifierpublic GenericVoiceChannelUpdateEvent(JDA api, long responseNumber, VoiceChannel channel)
public VoiceChannel getEntity()
UpdateEventgetEntity in interface UpdateEvent<VoiceChannel,T>public java.lang.String toString()
toString in class java.lang.Object