GoogleCastGenericMediaMetadata class
Describes a generic media artifact.
- Inheritance
-
- Object
- GoogleCastMediaMetadata
- GoogleCastGenericMediaMetadata
- Implementers
- Available extensions
Constructors
-
GoogleCastGenericMediaMetadata.new({String? title, String? subtitle, List<
GoogleCastImage> ? images, DateTime? releaseDate}) - Creates a generic media metadata instance.
Properties
- 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 title using
content_id or it can be given
by the sender in the Load message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String?
-
optional Descriptive subtitle of the content.
Player can independently retrieve title using
content_id or it can be given by the sender
in the Load message
final
- title → String?
-
optional Descriptive title of the content.
Player can independently retrieve title
using content_id or it can be given by
the sender in the Load message
final
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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited