Skip to content

AudioListenerPosition

interface AudioListenerPosition
Package: dev.joid.lib.video · Module: core · Source: AudioListenerPosition.java

Gives the position of the listener that the sound of placed videos fades with.

Pass it as a lambda to VideoAudioPlayer.audioListenerPosition.

ReturnsSignatureSummary
PointgetListenerPosition() abstractJOID calls it on each draw of a video that has a location: return the position of the listener, in the same units as the location of the videos.

Point getListenerPosition() abstract

JOID calls it on each draw of a video that has a location: return the position of the listener, in the same units as the location of the videos.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page