added feature to render and play audio/* mime type mms attachments

This commit is contained in:
gavine99
2025-01-22 16:26:04 +11:00
parent 75c5b1acb6
commit 955bfda460
11 changed files with 371 additions and 7 deletions
@@ -27,6 +27,8 @@ fun MmsPart.isImage() = ContentType.isImageType(type)
fun MmsPart.isVideo() = ContentType.isVideoType(type)
fun MmsPart.isAudio() = ContentType.isAudioType(type)
fun MmsPart.isText() = ContentType.TEXT_PLAIN == type
fun MmsPart.isVCard() = ContentType.TEXT_VCARD == type