Class: Toybox.Media.ContentRef

Inherits:
Toybox.Lang.Object show all

Overview

Provides a reference to downloaded media content.

Since:

API Level 3.0.0

Instance Method Summary collapse

Instance Method Details

getContentType() as Media.ContentType

Get the media content type.

Returns:

Since:

API Level 3.0.0

getId() as Lang.Object

Get the content ref ID.

Returns:

  • Lang.Object

    The ID parameter value for the current ContentRef object

Since:

API Level 3.0.0

initialize(id as Lang.Object, type as Media.ContentType)

Constructor

Parameters:

  • id(Lang.Object)

    A unique identifier for this ContentRef object

  • type(Media.ContentType)

    One of the CONTENT_TYPE_* enum values

Since:

API Level 3.0.0


Generated Jun 6, 2024 10:31:53 AM