IVideoCollection

All Implemented Interfaces: com.aspose.slides.IGenericCollection

public interface IVideoCollection extends IGenericCollection<IVideo>

Represents a collection of Video objects.

Methods

Method Description
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) Creates and adds a video to a presentation from stream.
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:

Parameter Type Description
index int

Returns: IVideo

addVideo(IVideo video)

public abstract IVideo addVideo(IVideo video)

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

Parameters:

Parameter Type Description
video IVideo Source video.

Returns: IVideo - Added video.

addVideo(InputStream stream)

public abstract IVideo addVideo(InputStream stream)

Creates and adds a video to a presentation from stream.

Parameters:

Parameter Type Description
stream java.io.InputStream Stream to add video file from.

Returns: IVideo - Added IVideo.

addVideo(InputStream stream, int loadingStreamBehavior)

public abstract IVideo addVideo(InputStream stream, int loadingStreamBehavior)

Creates and adds a video to a presentation from stream.

Parameters:

Parameter Type Description
stream java.io.InputStream Stream to add video file from.
loadingStreamBehavior int The 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:

Parameter Type Description
videoData byte[] Video bytes.

Returns: IVideo - Added video.