ICVideoAttachment (Discontinued)

🚧

Note

Please note that we have announced end of sale for Cordova SDK. It is no longer offered as a standard Webex Connect capability.

This class exposes data relating to Video file attachments that are received through In-app or Push, also used to attach video files to outgoing In-app messages.

getPreviewImage

This method is used to get the video preview thumbnail as String.

Syntax: Bitmap getPreviewImage()

Return Value: Returns the video preview thumbnail as a bitmap.

getDuration

This method is used to get the duration of the applicable video files.

Syntax: long getDuration()

Return Value: Returns the duration in seconds of the video files.

setPreviewImage

This method is used to set the preview of the video file.

Syntax: void setPreviewImage(Bitmap preview)

ParameterTypeDescription
previewStringSpecifies the preview of the video file.

setDuration

This method is used to set the preview of the image file.

Syntax: void setDuration(long duration)

ParameterTypeDescription
durationlongSpecifies the duration in seconds.