ICAttachment (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 attachments that are received through In-app or Push. In addition, it is used to attach media and location to outgoing In-app messages.

getContentType

This method is used to get the content type such as image/video/location.

Syntax: String getContentType()

Return Value: Returns the content type such as image or video or location.


##setContentType

This method is used to set the content type such as image/video/location.

Syntax: void setContentType(contentType)

ParameterTypeDescription
contentTypeStringSpecifies the content type.