This class exposes data relating to Audio file attachments that are received through RTM or Push, also used to attach Audio files to outgoing RTM 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)
Specifies the duration in seconds.
Updated 4 months ago