GoogleCastPhotoMediaMetadata class

Describes a photo media artifact.

Inheritance
Implementers
Available extensions

Constructors

GoogleCastPhotoMediaMetadata({String? title, String? artist, String? location, double? latitude, double? longitude, int? width, int? height, DateTime? creationDateTime})
Creates a photo media metadata instance.

Properties

artist → String?
string optional Name of the photographer. Player can independently retrieve artist using content_id or it can be given by the sender in the Load message
final
creationDateTime → DateTime?
string (ISO 8601) optional ISO 8601 date and time this photograph was taken. Player can independently retrieve creationDateTime using content_id or it can be given by the sender in the Load message
final
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
height → int?
integer optional Height in pixels of the photograph. Player can independently retrieve height using content_id or it can be given by the sender in the Load message
final
images → List<GoogleCastImage>?
List of images associated with the media.
finalinherited
latitude → double?
double optional Geographical latitude value for the location where the photograph was taken. Player can independently retrieve latitude using content_id or it can be given by the sender in the Load message
final
location → String?
string optional Verbal location where the photograph was taken; for example, "Madrid, Spain." Player can independently retrieve location using content_id or it can be given by the sender in the Load message
final
longitude → double?
double optional Geographical longitude value for the location where the photograph was taken. Player can independently retrieve longitude using content_id or it can be given by the sender in the Load message
final
metadataType → GoogleCastMediaMetadataType
The type of media metadata.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
string optional Title of the photograph. Player can independently retrieve title using content_id or it can be given by the sender in the Load message
final
width → int?
integer optional Width in pixels of the photograph. Player can independently retrieve width 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