ICImageAttachment (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 Audio file attachments that are received through In-app or Push, also used to attach Audio files to outgoing In-app messages.

getPreviewImage

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

Syntax: String getPreview()

Return Value: Returns the preview thumbnail as String.

setPreview

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

Syntax: void setPreview(Bitmap preview)

ParameterTypeDescription
previewStringSpecifies the preview of the image file.