Interface StaticAudioChannel
- All Superinterfaces:
AudioChannel
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTarget(VoicechatConnection target) Adds a target to the audio channel.booleanvoidRemoves all targets from the audio channel.voidremoveTarget(VoicechatConnection target) Removes a target from the audio channel.voidsetBypassGroupIsolation(boolean bypassGroupIsolation) Sets whether this audio channel should be received by targets in isolated groups.Methods inherited from interface AudioChannel
flush, getCategory, getId, isClosed, send, send, setCategory, setFilter
-
Method Details
-
setBypassGroupIsolation
void setBypassGroupIsolation(boolean bypassGroupIsolation) Sets whether this audio channel should be received by targets in isolated groups.- Parameters:
bypassGroupIsolation- if group isolation should be bypassed
-
bypassesGroupIsolation
boolean bypassesGroupIsolation()- Returns:
- if this audio channel is received by targets in isolated groups
-
addTarget
Adds a target to the audio channel.- Parameters:
target- the target to add
-
removeTarget
Removes a target from the audio channel.- Parameters:
target- the target to remove
-
clearTargets
void clearTargets()Removes all targets from the audio channel.
-