ICAudioAttachment (Discontinued)



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 ICAudioAttachment or Push, also used to attach Audio files to outgoing ICAudioAttachment messages.


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

Syntax: long getDuration()

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


This method is used to set the duration of the audio files.

Syntax: void setDuration(long duration)


durationlongSpecifies the duration in seconds.