|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.AudioCollection
public class AudioCollection
Represents a collection of embedded audio files.
Method Summary | |
---|---|
IAudio |
addAudio(byte[] audioData)
Creates and adds a audio to a presentation from byte array. |
IAudio |
addAudio(IAudio audio)
Adds a copy of an audio file from an another presentation. |
IAudio |
addAudio(java.io.InputStream stream)
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
|
IAudio |
get_Item(int index)
Gets the element at the specified index. |
java.lang.Object |
getSyncRoot()
|
boolean |
isSynchronized()
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IAudio> |
iterator()
Returns an enumerator that iterates through the collection. |
int |
size()
Returns a number of audio files in the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
Returns a number of audio files in the collection.
size
in interface com.aspose.ms.System.Collections.ICollection<IAudio>
public IAudio get_Item(int index)
Gets the element at the specified index.
Read-only IAudio
.
get_Item
in interface IAudioCollection
public IAudio addAudio(IAudio audio)
Adds a copy of an audio file from an another presentation.
addAudio
in interface IAudioCollection
audio
- Source audio.
public IAudio addAudio(java.io.InputStream stream)
addAudio
in interface IAudioCollection
public IAudio addAudio(byte[] audioData)
Creates and adds a audio to a presentation from byte array.
addAudio
in interface IAudioCollection
audioData
- Audio bytes.
public void copyTo(com.aspose.ms.System.Array array, int index)
copyTo
in interface com.aspose.ms.System.Collections.ICollection<IAudio>
public boolean isSynchronized()
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<IAudio>
public java.lang.Object getSyncRoot()
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<IAudio>
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IAudio> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IAudio>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IAudio>
iterator
in interface java.lang.Iterable<IAudio>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |