Stream
class Stream
Represents the handle of a SoundEffect that was returned by SoundEffectPlayer.play. The Stream can be used to control playback with that SoundEffectPlayer.
class Stream
Represents the handle of a SoundEffect that was returned by SoundEffectPlayer.play. The Stream can be used to control playback with that SoundEffectPlayer.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-05-19 UTC.