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


7396
7397
# File 'Monkeybrains.rb', line 7396

def initialize(contentRef, metadata)
end

Instance Method Details

getContentRefToybox::Media::ContentRef

Get the underlying ContentRef object

Returns:

Since:

  • 3.0.0


7413
7414
# File 'Monkeybrains.rb', line 7413

def getContentRef()
end

getMetadataToybox::Media::ContentMetadata

Get the metadata for this object

Returns:

Since:

  • 3.0.0


7402
7403
# File 'Monkeybrains.rb', line 7402

def getMetadata()
end

getPlaybackStartPositionToybox::Lang::Number

Get the playback start position for media content

Returns:

Since:

  • 3.0.0


7419
7420
# File 'Monkeybrains.rb', line 7419

def getPlaybackStartPosition()
end

setMetadata(metadata) ⇒ Object

Set the metadata for this object

Since:

  • 3.0.0


7407
7408
# File 'Monkeybrains.rb', line 7407

def setMetadata(metadata)
end