Class: Toybox::Media::ActiveContent

Inherits:
Content show all

Overview

Pairs a ContentRef with associated ContentMetadata information and allows a playback start position to be set.

Since:

  • 3.0.0

Instance Method Summary collapse

Methods inherited from Content

getContentRef, getMetadata, setMetadata

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initialize(contentRef, metadata, playbackStartPos) ⇒ ActiveContent

The MediaContent constructor.

Parameters:

Since:

  • 3.0.0


8574
8575
# File 'Monkeybrains.rb', line 8574

def initialize(contentRef, metadata, playbackStartPos)
end

Instance Method Details

getPlaybackStartPositionToybox::Lang::Number

Get the playback start position for media content

Returns:

Since:

  • 3.0.0


8580
8581
# File 'Monkeybrains.rb', line 8580

def getPlaybackStartPosition()
end