public class CallVoiceStateImpl extends java.lang.Object implements CallVoiceState
Constructor and Description |
---|
CallVoiceStateImpl(CallUser cUser) |
Modifier and Type | Method and Description |
---|---|
AudioChannel |
getAudioChannel() |
Call |
getCall() |
CallableChannel |
getCallableChannel() |
CallUser |
getCallUser() |
Group |
getGroup() |
JDA |
getJDA()
Returns the
JDA instance of this VoiceState |
PrivateChannel |
getPrivateChannel() |
java.lang.String |
getSessionId() |
User |
getUser() |
boolean |
isGroupCall() |
boolean |
isInCall() |
boolean |
isSelfDeafened()
Returns whether the
Member deafened themselves. |
boolean |
isSelfMuted()
Returns whether the
Member muted themselves. |
CallVoiceStateImpl |
setInCall(boolean inCall) |
CallVoiceStateImpl |
setSelfDeafened(boolean selfDeafened) |
CallVoiceStateImpl |
setSelfMuted(boolean selfMuted) |
CallVoiceStateImpl |
setSessionId(java.lang.String sessionId) |
public CallVoiceStateImpl(CallUser cUser)
public boolean isSelfMuted()
VoiceState
Member
muted themselves.isSelfMuted
in interface VoiceState
public boolean isSelfDeafened()
VoiceState
Member
deafened themselves.isSelfDeafened
in interface VoiceState
public JDA getJDA()
VoiceState
JDA
instance of this VoiceStategetJDA
in interface VoiceState
public AudioChannel getAudioChannel()
getAudioChannel
in interface VoiceState
public java.lang.String getSessionId()
getSessionId
in interface VoiceState
public User getUser()
getUser
in interface CallVoiceState
public Call getCall()
getCall
in interface CallVoiceState
public CallUser getCallUser()
getCallUser
in interface CallVoiceState
public boolean isInCall()
isInCall
in interface CallVoiceState
public boolean isGroupCall()
isGroupCall
in interface CallVoiceState
public CallableChannel getCallableChannel()
getCallableChannel
in interface CallVoiceState
public Group getGroup()
getGroup
in interface CallVoiceState
public PrivateChannel getPrivateChannel()
getPrivateChannel
in interface CallVoiceState
public CallVoiceStateImpl setSelfMuted(boolean selfMuted)
public CallVoiceStateImpl setSelfDeafened(boolean selfDeafened)
public CallVoiceStateImpl setSessionId(java.lang.String sessionId)
public CallVoiceStateImpl setInCall(boolean inCall)