VideoCollection

VideoCollection class

Represents a collection of Video objects.

addVideo

NameDescription
addVideo (Video)Adds a copy of an video file from an another presentation.

Parameters:

NameTypeDescription
videoVideoSource video.

Returns: Video


addVideoFromStream

NameDescription
addVideoFromStream (VideoCollection, ReadStream, Function)Creates and adds a video to a presentation from stream.

Parameters:

NameTypeDescription
videocollectionVideoCollectionlink to self
streamReadStreamStream to add video file from.
callbackFunctioncallback(error, Returns) - Callback to be called when the method has completed

Returns: Video


addVideoFromStream

NameDescription
addVideoFromStream (VideoCollection, ReadStream, int, Function)Creates and adds a video to a presentation from stream.

Parameters:

NameTypeDescription
videocollectionVideoCollectionlink to self
streamReadStreamStream to add video file from.
loadingStreamBehaviorintThe behavior which will be applied to the stream.
callbackFunctioncallback(error, Returns) - Callback to be called when the method has completed

Returns: Video


addVideo

NameDescription
addVideo (byte[])Creates and adds a video to a presentation from byte array.

Parameters:

NameTypeDescription
videoDatabyte[]Video bytes.

Returns: Video


getSyncRoot

NameDescription
getSyncRoot ()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item (int)Gets the element at the specified index. Read-only IVideo.

Returns: Video


isSynchronized

NameDescription
isSynchronized ()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


size

NameDescription
size ()Returns a number of video files in the collection. Read-only int.

Returns: int