GoogleCastGenericMediaMetadataIOS class
iOS-specific implementation of generic media metadata.
- Inheritance
-
- Object
- GoogleCastMediaMetadata
- GoogleCastGenericMediaMetadata
- GoogleCastGenericMediaMetadataIOS
- Available extensions
Constructors
-
GoogleCastGenericMediaMetadataIOS.new({required String? title, required String? subtitle, required List<
GoogleCastImage> ? images, DateTime? releaseDate}) - Creates an iOS generic media metadata instance.
-
GoogleCastGenericMediaMetadataIOS.fromMap(Map<
String, dynamic> map) -
Creates a generic media metadata instance from a map.
factory
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
finalinherited
- 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
finalinherited
- 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
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