cancelDownloadingMedia

public final Unit cancelDownloadingMedia(ErrorHandler handler)

Cancels the ongoing media download for this message.

message.cancelDownloadingMedia { error ->
if (error == null) {
// Cancelled successfully
}
}

Parameters

handler

Operation result callback; error is null on success