public class SoundActionType extends ActionEventType
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>
| Modifier and Type | Field and Description |
|---|---|
protected AudioEncodingType |
encoding |
protected Boolean |
mix |
protected Boolean |
repeat |
protected Integer |
sampleSize |
protected Float |
samplingRate |
protected byte[] |
sound |
protected Integer |
soundChannels |
protected Boolean |
synchronous |
protected Integer |
volume |
| Constructor and Description |
|---|
SoundActionType() |
| Modifier and Type | Method and Description |
|---|---|
AudioEncodingType |
getEncoding()
Gets the value of the encoding property.
|
int |
getSampleSize()
Gets the value of the sampleSize property.
|
float |
getSamplingRate()
Gets the value of the samplingRate property.
|
byte[] |
getSound()
Gets the value of the sound property.
|
int |
getSoundChannels()
Gets the value of the soundChannels property.
|
int |
getVolume()
Gets the value of the volume property.
|
boolean |
isMix()
Gets the value of the mix property.
|
boolean |
isRepeat()
Gets the value of the repeat property.
|
boolean |
isSetEncoding() |
boolean |
isSetMix() |
boolean |
isSetRepeat() |
boolean |
isSetSampleSize() |
boolean |
isSetSamplingRate() |
boolean |
isSetSound() |
boolean |
isSetSoundChannels() |
boolean |
isSetSynchronous() |
boolean |
isSetVolume() |
boolean |
isSynchronous()
Gets the value of the synchronous property.
|
void |
setEncoding(AudioEncodingType value)
Sets the value of the encoding property.
|
void |
setMix(boolean value)
Sets the value of the mix property.
|
void |
setRepeat(boolean value)
Sets the value of the repeat property.
|
void |
setSampleSize(int value)
Sets the value of the sampleSize property.
|
void |
setSamplingRate(float value)
Sets the value of the samplingRate property.
|
void |
setSound(byte[] value)
Sets the value of the sound property.
|
void |
setSoundChannels(int value)
Sets the value of the soundChannels property.
|
void |
setSynchronous(boolean value)
Sets the value of the synchronous property.
|
void |
setVolume(int value)
Sets the value of the volume property.
|
void |
unsetMix() |
void |
unsetRepeat() |
void |
unsetSampleSize() |
void |
unsetSamplingRate() |
void |
unsetSoundChannels() |
void |
unsetSynchronous() |
void |
unsetVolume() |
protected byte[] sound
protected Integer volume
protected Boolean synchronous
protected Boolean repeat
protected Boolean mix
protected Float samplingRate
protected Integer soundChannels
protected Integer sampleSize
protected AudioEncodingType encoding
public byte[] getSound()
public void setSound(byte[] value)
value - allowed object is
byte[]public boolean isSetSound()
public int getVolume()
Integerpublic void setVolume(int value)
value - allowed object is
Integerpublic boolean isSetVolume()
public void unsetVolume()
public boolean isSynchronous()
Booleanpublic void setSynchronous(boolean value)
value - allowed object is
Booleanpublic boolean isSetSynchronous()
public void unsetSynchronous()
public boolean isRepeat()
Booleanpublic void setRepeat(boolean value)
value - allowed object is
Booleanpublic boolean isSetRepeat()
public void unsetRepeat()
public boolean isMix()
Booleanpublic void setMix(boolean value)
value - allowed object is
Booleanpublic boolean isSetMix()
public void unsetMix()
public float getSamplingRate()
Floatpublic void setSamplingRate(float value)
value - allowed object is
Floatpublic boolean isSetSamplingRate()
public void unsetSamplingRate()
public int getSoundChannels()
Integerpublic void setSoundChannels(int value)
value - allowed object is
Integerpublic boolean isSetSoundChannels()
public void unsetSoundChannels()
public int getSampleSize()
Integerpublic void setSampleSize(int value)
value - allowed object is
Integerpublic boolean isSetSampleSize()
public void unsetSampleSize()
public AudioEncodingType getEncoding()
AudioEncodingTypepublic void setEncoding(AudioEncodingType value)
value - allowed object is
AudioEncodingTypepublic boolean isSetEncoding()
Copyright © 2017–2023 SoftVision Development GmbH, Fulda, Germany. All rights reserved.