MediaContent class
An RSS module that supplements the
Constructors
- MediaContent(String url)
- media:content is a sub-element of either
- MediaContent.fromXml(UniversalFeed uf, XmlElement node)
-
Creates a new MediaContent object from an
XmlElement
factory
Properties
- bitrate ↔ String?
-
is the kilobits per second rate of media. It is an optional attribute.
getter/setter pair
-
categories
↔ List<
Category> -
Allows a taxonomy to be set that gives an indication of the type of media content, and its particular contents.
getter/setter pair
- channels ↔ String?
-
is number of audio channels in the media object. It is an optional attribute.
getter/setter pair
-
credits
↔ List<
Credit> -
Notable entity and the contribution to the creation of the media object.
getter/setter pair
- description ↔ String?
-
hort description describing the media object typically a sentence in length.
getter/setter pair
- duration ↔ String?
-
is the number of seconds the media object plays. It is an optional attribute.
getter/setter pair
- expression ↔ String?
-
determines if the object is a sample or the full version of the object, or even if it is a continuous stream
(sample | full | nonstop). Default value is "full". It is an optional attribute.
getter/setter pair
- fileSize ↔ String?
-
is the number of bytes of the media object. It is an optional attribute.
getter/setter pair
- framerate ↔ String?
-
is the number of frames per second for the media object. It is an optional attribute.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ String?
-
is the height of the media object. It is an optional attribute.
getter/setter pair
- isDefault ↔ String?
-
determines if this is the default object that should be used for the media:group. There should only be one
default object per media:group. It is an optional attribute.
getter/setter pair
- lang ↔ String?
-
is the primary language encapsulated in the media object. Language codes possible are detailed in RFC 3066.
This attribute is used similar to the xml:lang attribute detailed in the XML 1.0 Specification (Third Edition).
It is an optional attribute.
getter/setter pair
- medium ↔ String?
-
is the type of object (image | audio | video | document | executable). While this attribute can at times seem
redundant if type is supplied, it is included because it simplifies decision making on the reader side, as well
as flushes out any ambiguities between MIME type and object type. It is an optional attribute.
getter/setter pair
- player ↔ Player?
-
Allows the media object to be accessed through a web browser media player console.
getter/setter pair
-
rating
↔ List<
Rating> -
This allows the permissible audience to be declared. If this element is not included, it assumes that no
restrictions are necessary.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- samplingrate ↔ String?
-
is the number of samples per second taken to create the media object. It is expressed in thousands of samples
per second (kHz). It is an optional attribute.
getter/setter pair
-
thumbnails
↔ List<
Image> -
Allows particular images to be used as representative images for the media object.
getter/setter pair
- title ↔ String?
-
The title of the particular media object. It
getter/setter pair
- type ↔ String?
-
is the standard MIME type of the object. It is an optional attribute.
getter/setter pair
- url ↔ String
-
should specify the direct URL to the media object. If not included, a media:player element must be specified.
getter/setter pair
- width ↔ String?
-
is the width of the media object. It is an optional attribute.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited