Class SoundActionType


  • public class SoundActionType
    extends ActionEventType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">When activated, the playSound Element plays the specified audio data.</p>
     

    Java class for SoundActionType complex type.

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="SoundActionType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}ActionEventType">
           <all>
             <element name="sound" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
           </all>
           <attribute name="volume" default="100">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="-100"/>
                 <maxInclusive value="100"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="synchronous" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="repeat" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="mix" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="samplingRate" default="8000">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}float">
                 <minInclusive value="1"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="soundChannels" default="1">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="sampleSize" default="8">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="encoding" type="{http://schema.webpdf.de/1.0/operation}AudioEncodingType" default="Raw" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • SoundActionType

        public SoundActionType()
    • Method Detail

      • getSound

        public byte[] getSound()
        Gets the value of the sound property.
        Returns:
        possible object is byte[]
      • setSound

        public void setSound​(byte[] value)
        Sets the value of the sound property.
        Parameters:
        value - allowed object is byte[]
      • isSetSound

        public boolean isSetSound()
      • getVolume

        public int getVolume()
        Gets the value of the volume property.
        Returns:
        possible object is Integer
      • setVolume

        public void setVolume​(int value)
        Sets the value of the volume property.
        Parameters:
        value - allowed object is Integer
      • isSetVolume

        public boolean isSetVolume()
      • unsetVolume

        public void unsetVolume()
      • isSynchronous

        public boolean isSynchronous()
        Gets the value of the synchronous property.
        Returns:
        possible object is Boolean
      • setSynchronous

        public void setSynchronous​(boolean value)
        Sets the value of the synchronous property.
        Parameters:
        value - allowed object is Boolean
      • isSetSynchronous

        public boolean isSetSynchronous()
      • unsetSynchronous

        public void unsetSynchronous()
      • isRepeat

        public boolean isRepeat()
        Gets the value of the repeat property.
        Returns:
        possible object is Boolean
      • setRepeat

        public void setRepeat​(boolean value)
        Sets the value of the repeat property.
        Parameters:
        value - allowed object is Boolean
      • isSetRepeat

        public boolean isSetRepeat()
      • unsetRepeat

        public void unsetRepeat()
      • isMix

        public boolean isMix()
        Gets the value of the mix property.
        Returns:
        possible object is Boolean
      • setMix

        public void setMix​(boolean value)
        Sets the value of the mix property.
        Parameters:
        value - allowed object is Boolean
      • isSetMix

        public boolean isSetMix()
      • unsetMix

        public void unsetMix()
      • getSamplingRate

        public float getSamplingRate()
        Gets the value of the samplingRate property.
        Returns:
        possible object is Float
      • setSamplingRate

        public void setSamplingRate​(float value)
        Sets the value of the samplingRate property.
        Parameters:
        value - allowed object is Float
      • isSetSamplingRate

        public boolean isSetSamplingRate()
      • unsetSamplingRate

        public void unsetSamplingRate()
      • getSoundChannels

        public int getSoundChannels()
        Gets the value of the soundChannels property.
        Returns:
        possible object is Integer
      • setSoundChannels

        public void setSoundChannels​(int value)
        Sets the value of the soundChannels property.
        Parameters:
        value - allowed object is Integer
      • isSetSoundChannels

        public boolean isSetSoundChannels()
      • unsetSoundChannels

        public void unsetSoundChannels()
      • getSampleSize

        public int getSampleSize()
        Gets the value of the sampleSize property.
        Returns:
        possible object is Integer
      • setSampleSize

        public void setSampleSize​(int value)
        Sets the value of the sampleSize property.
        Parameters:
        value - allowed object is Integer
      • isSetSampleSize

        public boolean isSetSampleSize()
      • unsetSampleSize

        public void unsetSampleSize()
      • isSetEncoding

        public boolean isSetEncoding()