Bitrate

Represents the number of bits that are conveyed or processed per unit of time.

A negative bitrate is not possible.

The type can store bitrate values up to 2 147 Mbps.

To construct bitrate use either the extension function toBitrate, or the extension properties bps, kbps or mbps, available on Int type.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bps: Int

a bitrate in bits per second

Functions

Link copied to clipboard
open operator override fun compareTo(other: Bitrate): Int