Class: Toybox::Media::Content

Inherits:
Lang::Object show all

Overview

Pairs a ContentRef with associated ContentMetadata information.

Since:

  • 3.0.0

Direct Known Subclasses

ActiveContent

Direct Known Subclasses

ActiveContent

Instance Method Summary collapse

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initialize(contentRef, metadata) ⇒ Content

The MediaContent constructor.

Parameters:

Since:

  • 3.0.0


8534
8535
# File 'Monkeybrains.rb', line 8534

def initialize(contentRef, metadata)
end

Instance Method Details

getContentRefToybox::Media::ContentRef

Get the underlying ContentRef object

Returns:

Since:

  • 3.0.0


8551
8552
# File 'Monkeybrains.rb', line 8551

def getContentRef()
end

getMetadataToybox::Media::ContentMetadata

Get the metadata for this object

Returns:

Since:

  • 3.0.0


8540
8541
# File 'Monkeybrains.rb', line 8540

def getMetadata()
end

getPlaybackStartPositionToybox::Lang::Number

Get the playback start position for media content

Returns:

Since:

  • 3.0.0


8557
8558
# File 'Monkeybrains.rb', line 8557

def getPlaybackStartPosition()
end

setMetadata(metadata) ⇒ Object

Set the metadata for this object

Since:

  • 3.0.0


8545
8546
# File 'Monkeybrains.rb', line 8545

def setMetadata(metadata)
end