Class: Toybox.Media.Content
- Inherits:
-
Toybox.Lang.Object
Overview
Pairs a ContentRef with associated ContentMetadata information.
Direct Known Subclasses
Instance Method Summary collapse
-
getContentRef() as Media.ContentRef
Get the underlying ContentRef object.
-
getMetadata() as Media.ContentMetadata
Get the metadata for this object.
-
getPlaybackStartPosition() as Lang.Number
Get the playback start position for media content.
-
initialize(contentRef as Media.ContentRef, metadata as Media.ContentMetadata)
Constructor.
-
setMetadata(metadata as Media.ContentMetadata) as Void
Set the metadata for this object.
Instance Method Details
getContentRef() as Media.ContentRef
Get the underlying ContentRef object
getMetadata() as Media.ContentMetadata
Get the metadata for this object
getPlaybackStartPosition() as Lang.Number
Get the playback start position for media content
initialize(contentRef as Media.ContentRef, metadata as Media.ContentMetadata)
Constructor
setMetadata(metadata as Media.ContentMetadata) as Void
Set the metadata for this object