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

getDuration

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.

setDuration

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

Syntax: void setDuration(long duration)

Parameters:

ParameterTypeDescription
durationlongSpecifies the duration in seconds.