clearPendingAttachment

fun clearPendingAttachment(context: Context, callback: OperationListener<MessagingError>?)

Call this method to delete pending (non downloaded) attachments.

This method is automatically deletes the attachment and its messages.

Parameters

context

The application context

callback

This callback will be invoked when all pending attachment are successfully deleted or otherwise.