|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
com.aspose.slides.PictureFrame
com.aspose.slides.AudioFrame
public final class AudioFrame
Represents an AudioFrame.
Method Summary | |
---|---|
byte[] |
getAudioData()
Returns embedded audio data. |
java.lang.String |
getFileName()
Returns the file from which the media object was created. |
int |
getSoundLength()
Returns the length of embedded wav sound in milliseconds. |
boolean |
isEmbedded()
Determines whether the sound is embedded to a presentation. |
boolean |
isLoopUntilStopped()
Determines whether the sound loops continuously until either the next movie or sound starts, the user clicks the slide, or a slide transition occurs. |
boolean |
isRewindSound()
Determines whether the sound is automatically rewinded to start as soon as the sound has finished playing. |
void |
setFileName(java.lang.String value)
Sets the file from which the media object was created. |
void |
setLoopUntilStopped(boolean value)
Sets whether the sound loops continuously until either the next movie or sound starts, the user clicks the slide, or a slide transition occurs. |
void |
setRewindSound(boolean value)
Sets whether the sound is automatically rewinded to start as soon as the sound has finished playing. |
void |
setSoundLength(int value)
Sets the length of embedded wav sound in milliseconds. |
Methods inherited from class com.aspose.slides.PictureFrame |
---|
addTextFrame, getBrightness, getColorType, getContrast, getCropBottom, getCropLeft, getCropRight, getCropTop, getPictureFileName, getPictureId, getRecolor, getTransparentColor, isPictureLinked, makeColorTransparent, serialize, setBrightness, setColorType, setContrast, setCropBottom, setCropLeft, setCropRight, setCropTop, setPictureFileName, setPictureId, setTransparentColor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isEmbedded()
public java.lang.String getFileName()
Used for linked audio files only.
If the path isn't specified, the current working folder is used.
public void setFileName(java.lang.String value)
Used for linked audio files only.
If the path isn't specified, the current working folder is used.
value
- the file from which the media object was created.public boolean isLoopUntilStopped()
public void setLoopUntilStopped(boolean value)
value
- true if the sound loops continuously.public int getSoundLength()
public void setSoundLength(int value)
value
- length of embedded wav sound in milliseconds.public boolean isRewindSound()
public void setRewindSound(boolean value)
value
- true if the sound is automatically rewinded to start.public byte[] getAudioData()
Used for embedded audio files only.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |