updateAudioAttachmentAsPlayed

fun updateAudioAttachmentAsPlayed(context: Context, attachmentId: Int)

Call this method when read the audio attachment to update the value of STWBaseAttachment.EXTRA_WAS_PLAYED to true

Parameters

context

The application context

attachmentId

Attachment Id