UMediaMetadata class

Title, artist, album, artwork and duration (shown on the lock screen). const UMediaMetadata(title: "Song", artist: "Me")

Constructors

UMediaMetadata({String? title, String? artist, String? album, String? albumArtist, String? composer, String? genre, int? year, int? trackNumber, int? trackCount, int? discNumber, Duration? duration, UArtworkRef? artwork, String? lyrics, String? comment, Map<String, String> extras = const <String, String>{}})
const

Properties

album → String?
final
albumArtist → String?
final
artist → String?
final
artwork → UArtworkRef?
final
comment → String?
final
composer → String?
final
discNumber → int?
final
displaySubtitle → String
no setter
displayTitle → String
no setter
duration → Duration?
final
extras → Map<String, String>
final
genre → String?
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
lyrics → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
final
trackCount → int?
final
trackNumber → int?
final
year → int?
final

Methods

merge(UMediaMetadata other) → UMediaMetadata
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited