|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.VideoCollection
public class VideoCollection
Represents a collection of Video objects.
Method Summary | |
---|---|
IVideo |
addVideo(byte[] videoData)
Creates and adds a video to a presentation from byte array. |
IVideo |
addVideo(java.io.InputStream stream)
Creates and adds a video to a presentation from stream. |
IVideo |
addVideo(IVideo video)
Adds a copy of an video file from an another presentation. |
void |
copyTo(IVideo[] array,
int index)
Copies all elements from the collection into the specified array. |
IVideo |
get_Item(int index)
Gets the element at the specified index. |
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IVideo> |
iterator()
Returns an enumerator that iterates through the collection. |
int |
size()
Returns a number of video 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 video files in the collection.
Read-only int
.
size
in interface IGenericCollection<IVideo>
public IVideo get_Item(int index)
Gets the element at the specified index.
Read-only IVideo
.
get_Item
in interface IVideoCollection
public IVideo addVideo(IVideo video)
Adds a copy of an video file from an another presentation.
addVideo
in interface IVideoCollection
video
- Source video.
public IVideo addVideo(java.io.InputStream stream)
IVideoCollection
Creates and adds a video to a presentation from stream.
addVideo
in interface IVideoCollection
stream
- Stream to add video file from.
IVideo
.public IVideo addVideo(byte[] videoData)
Creates and adds a video to a presentation from byte array.
addVideo
in interface IVideoCollection
videoData
- Video bytes.
public void copyTo(IVideo[] array, int index)
IGenericCollection
Copies all elements from the collection into the specified array.
copyTo
in interface IGenericCollection<IVideo>
array
- Array to fill.index
- Starting position in target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface IGenericCollection<IVideo>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface IGenericCollection<IVideo>
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IVideo> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IVideo>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IVideo>
iterator
in interface java.lang.Iterable<IVideo>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |