Interface LocationalAudioChannel
- All Superinterfaces:
AudioChannel
-
Method Summary
Modifier and TypeMethodDescriptionfloat
void
setDistance
(float distance) void
updateLocation
(Position position) Updates the location of the audio.Methods inherited from interface de.maxhenkel.voicechat.api.audiochannel.AudioChannel
flush, getCategory, getId, isClosed, send, send, setCategory, setFilter
-
Method Details
-
updateLocation
Updates the location of the audio.- Parameters:
position
- the audio location
-
getLocation
Position getLocation()- Returns:
- the current location of this channel
-
getDistance
float getDistance()- Returns:
- the distance, the audio can be heard
-
setDistance
void setDistance(float distance) - Parameters:
distance
- the distance, the audio can be heard
-