AudioMediaType

org.llm4s.media.AudioMediaType
sealed trait AudioMediaType extends MediaType

A MediaType statically known to be audio, so audio APIs can require one.

Attributes

Graph
Supertypes
trait MediaType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Flac
object Mp3
object Ogg
object Wav

Members list

Value members

Concrete methods

final def category: MediaCategory

The broad kind of media this is.

The broad kind of media this is.

Attributes

Inherited methods

def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def extension: String

The canonical file extension, without a leading dot, e.g. "png".

The canonical file extension, without a leading dot, e.g. "png".

Attributes

Inherited from:
MediaType
def mimeType: String

The MIME type, e.g. "image/png".

The MIME type, e.g. "image/png".

Attributes

Inherited from:
MediaType
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product