IVideoCollection

All Implemented Interfaces: com.aspose.slides.IGenericCollection

public interface IVideoCollection extends IGenericCollection<IVideo>

Represents a collection of Video objects.

Methods

MethodDescription
get_Item(int index)Gets the element at the specified index.
addVideo(IVideo video)Adds a copy of an video file from an another presentation.
addVideo(InputStream stream, int loadingStreamBehavior)Creates and adds a video to a presentation from stream.
addVideo(byte[] videoData)Creates and adds a video to a presentation from byte array.

get_Item(int index)

public abstract IVideo get_Item(int index)

Gets the element at the specified index. Read-only IVideo.

Parameters:

ParameterTypeDescription
indexint

Returns: IVideo

addVideo(IVideo video)

public abstract IVideo addVideo(IVideo video)

Adds a copy of an video file from an another presentation.

Parameters:

ParameterTypeDescription
videoIVideoSource video.

Returns: IVideo - Added video.

addVideo(InputStream stream, int loadingStreamBehavior)

public abstract IVideo addVideo(InputStream stream, int loadingStreamBehavior)

Creates and adds a video to a presentation from stream.

Parameters:

ParameterTypeDescription
streamjava.io.InputStreamStream to add video file from.
loadingStreamBehaviorintThe behavior which will be applied to the stream.

Returns: IVideo - Added IVideo.

addVideo(byte[] videoData)

public abstract IVideo addVideo(byte[] videoData)

Creates and adds a video to a presentation from byte array.

Parameters:

ParameterTypeDescription
videoDatabyte[]Video bytes.

Returns: IVideo - Added video.