Class FixedLengthAudioStream

java.lang.Object
java.io.InputStream
org.openhab.core.audio.AudioStream
org.openhab.core.audio.FixedLengthAudioStream
All Implemented Interfaces:
Closeable, AutoCloseable, ClonableAudioStream, SizeableAudioStream
Direct Known Subclasses:
ByteArrayAudioStream, FileAudioStream

@NonNullByDefault @Deprecated public abstract class FixedLengthAudioStream extends AudioStream implements SizeableAudioStream, ClonableAudioStream
Deprecated.
You should consider using ClonableAudioStream and/or SizeableAudioStream to detect audio stream capabilities
This is a AudioStream, which can also provide information about its absolute length and get cloned.
Author:
Kai Kreuzer - Initial contribution, Gwendal Roulleau - Separate getClonedStream and length into their own interface.
  • Constructor Details

    • FixedLengthAudioStream

      public FixedLengthAudioStream()
      Deprecated.