Class: Toybox::Media::ContentRef

Inherits:
Lang::Object show all

Overview

Provides a reference to downloaded media content.

Since:

  • 3.0.0

Instance Method Summary collapse

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initialize(id, type) ⇒ ContentRef

The ContentRef constructor.

Parameters:

Since:

  • 3.0.0


7136
7137
# File 'Monkeybrains.rb', line 7136

def initialize(id, type)
end

Instance Method Details

getContentTypeToybox::Lang::Number

Get the media content type.

Returns:

Since:

  • 3.0.0


7152
7153
# File 'Monkeybrains.rb', line 7152

def getContentType()
end

getIdToybox::Lang::Object

Get the content ref ID.

Returns:

Since:

  • 3.0.0


7144
7145
# File 'Monkeybrains.rb', line 7144

def getId()
end