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


7436
7437
# File 'Monkeybrains.rb', line 7436

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


7442
7443
# File 'Monkeybrains.rb', line 7442

def getPlaybackStartPosition()
end