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


8277
8278
# File 'Monkeybrains.rb', line 8277

def initialize(id, type)
end

Instance Method Details

getContentTypeToybox::Lang::Number

Get the media content type.

Returns:

Since:

  • 3.0.0


8293
8294
# File 'Monkeybrains.rb', line 8293

def getContentType()
end

getIdToybox::Lang::Object

Get the content ref ID.

Returns:

Since:

  • 3.0.0


8285
8286
# File 'Monkeybrains.rb', line 8285

def getId()
end