ICTemplateAttachment (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 represents template attachment.

setTemplateType

This method sets the template type


Parameters:

ParameterTypeDescription
templateTypeICTemplateTypeType of the template

getTemplateType

This method is used to get the template type

Return Value: Returns ICTemplateType type of template.

setTemplateId

This method sets the template Id


Parameters: 

ParameterTypeDescription
templateIdStringThe Id for the template

getTemplateType

This method is used to get the template type

Return Value: Returns String the Id for the template.

toJSON

This method returns a new JSONObject instance containing template attachment data.

Return Value: Returns JSONObject representation of the template attachment data.

fromJSON

Instantiates a new ICTemplateAttachment instance from the supplied JSONObject.

Parameters:

ParameterTypeDescription
jsonObjectJSONObjectA valid JSONObject instance containing template attachment data.

Return Value: Returns A new ICTemplateAttachment or null if jsonObject is null.