MediaType

@Stable
actual class MediaType(val representation: String)

Native transfer formats use MIME types; unsupported formats are never advertised.

Constructors

Link copied to clipboard
actual constructor(representation: String)

Types

Link copied to clipboard
actual object Companion

Properties

Link copied to clipboard

How this MediaType is represented in a specific platform.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String