GoogleCastMusicMediaMetadataAndroid class
Android-specific implementation of music media metadata.
- Inheritance
-
- Object
- GoogleCastMediaMetadata
- GoogleCastMusicMediaMetadata
- GoogleCastMusicMediaMetadataAndroid
- Available extensions
Constructors
-
GoogleCastMusicMediaMetadataAndroid.new({String? albumArtist, String? albumName, String? artist, String? composer, int? discNumber, List<
GoogleCastImage> ? images, DateTime? releaseDate, String? title, int? trackNumber}) - Creates an Android music media metadata instance.
-
GoogleCastMusicMediaMetadataAndroid.fromMap(Map<
String, dynamic> map) -
Creates a music media metadata instance from a map.
factory
Properties
- albumArtist → String?
-
optional Name of the artist associated with
the album featuring this track. Player can
independently retrieve albumArtist using
content_id or it can be given by the
sender in the Load message
finalinherited
- albumName → String?
-
optional Album or collection from which this track
is drawn. Player can independently retrieve albumName
using content_id or it can be given by the sender
in the Load message
finalinherited
- artist → String?
-
optional Name of the artist associated
with the media track. Player can
independently retrieve artist using
content_id or it can be given
by the sender in the Load message
finalinherited
- composer → String?
-
optional Name of the composer associated with the
media track. Player can independently retrieve
composer using content_id or it can be
given by the sender in the Load message
finalinherited
- discNumber → int?
-
optional Number of the volume (for example, a disc) of the album
finalinherited
- extractedSubtitle → String?
-
Available on GoogleCastMediaMetadata, provided by the GoogleCastMediaMetadataExtensions extension
Extracts the subtitle from the metadata based on the metadata type.no setter - extractedTitle → String?
-
Available on GoogleCastMediaMetadata, provided by the GoogleCastMediaMetadataExtensions extension
Extracts the title from the metadata based on the metadata type.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
images
→ List<
GoogleCastImage> ? -
List of images associated with the media.
finalinherited
- metadataType → GoogleCastMediaMetadataType
-
The type of media metadata.
finalinherited
- releaseDate → DateTime?
-
optional Array of URL(s) to an image associated
with the content. The initial value of the
field can be provided by the sender in
the Load message. Should provide recommended sizes
optional ISO 8601 date and time
this content was released. Player
can independently retrieve releaseDate
using content_id or it can be given
by the sender in the Load message
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
optional Name of the track
(for example, song title). Player can
independently retrieve title using
content_id or it can be given by
the sender in the Load message
finalinherited
- trackNumber → int?
-
optional Number of the track on the album
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Converts the object to a map for serialization.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited