Class: Toybox.Media.Content

Inherits:
Toybox.Lang.Object show all

Overview

Pairs a ContentRef with associated ContentMetadata information.

Since:

API Level 3.0.0

Direct Known Subclasses

Media.ActiveContent

Instance Method Summary collapse

Instance Method Details

getContentRef() as Media.ContentRef

Get the underlying ContentRef object

Returns:

Since:

API Level 3.0.0

getMetadata() as Media.ContentMetadata

Get the metadata for this object

Returns:

Since:

API Level 3.0.0

getPlaybackStartPosition() as Lang.Number

Get the playback start position for media content

Returns:

Since:

API Level 3.0.0

initialize(contentRef as Media.ContentRef, metadata as Media.ContentMetadata)

Constructor

Parameters:

Since:

API Level 3.0.0

setMetadata(metadata as Media.ContentMetadata) as Void

Set the metadata for this object

Since:

API Level 3.0.0


Generated Jun 6, 2024 10:31:53 AM