ICImageAttachment

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)

Parameter

Type

Description

preview

String

Specifies the preview of the image file.