Media

interface Media

Represents a piece of Media.

Inheritors

Properties

Link copied to clipboard
abstract val creationDate: Long

The creation date of this piece of media, in milliseconds past the Unix Epoch.

Link copied to clipboard
abstract val extension: String

The file extension used when exporting the piece of media.

Link copied to clipboard
abstract val height: Int

The height of the piece of media.

Link copied to clipboard
abstract val name: String

The name of the piece of media.

Link copied to clipboard
open val size: Int

The size of the piece of media, or width x height.

Link copied to clipboard
abstract val width: Int

The width of the piece of media.

Functions

Link copied to clipboard
abstract fun toByteArray(): ByteArray

Gets this media as a byte array.