Java Fx Player
class JavaFxPlayer(publisher: LirpEventPublisher<AudioItemPlayerEvent.Type, AudioItemPlayerEvent> = FlowEventPublisher("JavaFxPlayer")) : LirpEventPublisher<AudioItemPlayerEvent.Type, AudioItemPlayerEvent> , AudioItemPlayer
Basic player that uses the native JavaFX MediaPlayer.
Uses Platform.runLater for volume property updates to ensure thread-safe JavaFX property access. These dispatches intentionally omit error handling because they perform only simple property mutations; any exception indicates a programming error that should surface through the default uncaught exception handler.
Constructors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun subscribe(action: Consumer<in AudioItemPlayerEvent>): LirpEventSubscription<in LirpEntity, AudioItemPlayerEvent.Type, AudioItemPlayerEvent>