Class Sound

    • Constructor Detail

      • Sound

        public Sound​(URI uri)
        Parameters:
        uri - a URI specifying a sound location
      • Sound

        public Sound​(byte[] binary)
        Parameters:
        binary - a byte array of sound data
      • Sound

        public Sound​(byte[] binary,
                     Type contentType)
        Parameters:
        binary - a byte array of sound data
        contentType - the MIME type of the sound data
      • Sound

        public Sound​(ParameterList params,
                     String value)
        Factory constructor.
        Parameters:
        params - property parameters
        value - string representation of a property value
        Throws:
        IllegalArgumentException - where the specified data string cannot be decoded