forked from upstream-mirrors/quik
added feature to render and play audio/* mime type mms attachments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user