clear Pending Attachment
fun clearPendingAttachment(context: Context, callback: OperationListener<MessagingError>?)
Content copied to clipboard
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.