Media

class Media

Represents a media with full detail.

Parameters

id

unique identifier of the media

name

display name of the media

description

description of the media (if available)

creationDate

date at which the media was created

color

brand color associated with the media, as an ARGB color int (if available)

logoUrl

URL to the media's logo asset (if available)

certifications

list of certification labels associated to this media

publications

list of publications (reference) owned by this media

Properties

Link copied to clipboard
Link copied to clipboard
val color: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: MediaId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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

Structural: equal when every property is equal.

Link copied to clipboard
open override fun hashCode(): Int

Consistent with equals.

Link copied to clipboard
open override fun toString(): String

Every property, for logs and crash reports.