MimeTypes

object MimeTypes

Functions

Link copied to clipboard
fun String?.isMimeTypeAny(): Boolean
Link copied to clipboard
fun String?.isMimeTypeApplication(): Boolean
Link copied to clipboard
fun String?.isMimeTypeAudio(): Boolean
Link copied to clipboard
fun String?.isMimeTypeFile(): Boolean
Link copied to clipboard
fun String?.isMimeTypeImage(): Boolean
Link copied to clipboard
fun String?.isMimeTypeText(): Boolean
Link copied to clipboard
fun String?.isMimeTypeVideo(): Boolean
Link copied to clipboard
fun String?.normalizeMimeType(): String?

Properties

Link copied to clipboard
const val Any: String
Link copied to clipboard
const val Apk: String
Link copied to clipboard
const val BadJpg: String
Link copied to clipboard
const val Gif: String
Link copied to clipboard
const val Images: String
Link copied to clipboard
const val Jpeg: String
Link copied to clipboard
const val OctetStream: String
Link copied to clipboard
const val Ogg: String
Link copied to clipboard
const val PlainText: String
Link copied to clipboard
const val Png: String
Link copied to clipboard
const val Webp: String