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


8537
8538
# File 'Monkeybrains.rb', line 8537

def initialize(contentRef, metadata)
end

Instance Method Details

getContentRefToybox::Media::ContentRef

Get the underlying ContentRef object

Returns:

Since:

  • 3.0.0


8554
8555
# File 'Monkeybrains.rb', line 8554

def getContentRef()
end

getMetadataToybox::Media::ContentMetadata

Get the metadata for this object

Returns:

Since:

  • 3.0.0


8543
8544
# File 'Monkeybrains.rb', line 8543

def getMetadata()
end

getPlaybackStartPositionToybox::Lang::Number

Get the playback start position for media content

Returns:

Since:

  • 3.0.0


8560
8561
# File 'Monkeybrains.rb', line 8560

def getPlaybackStartPosition()
end

setMetadata(metadata) ⇒ Object

Set the metadata for this object

Since:

  • 3.0.0


8548
8549
# File 'Monkeybrains.rb', line 8548

def setMetadata(metadata)
end