Companion

object Companion

Functions

Link copied to clipboard
fun fromName(serialName: String): MediaType

Find the enum member by the serial name or throw.

Link copied to clipboard
fun fromNameOrNull(serialName: String): MediaType?

Find the enum member by the serial name or return null.