Files
JiboOs/docs/services/media/MediaNode.js
2026-03-16 13:53:01 +02:00

32 lines
857 B
JavaScript

/** Specific type of node for media. All nodes returned by {@link jibo.kb.media.MediaModel}
* will be MediaNodes.
*
* @class MediaNode
* @extends jibo.kb.Node
* @memberof jibo.kb.media
*/
/** UUID of the media.
*
* @name jibo.kb.media.MediaNode#id
* @type {String}
*/
/** The loopId this media belongs to.
*
* @name jibo.kb.media.MediaNode#loopId
* @type {String}
*/
/** The url that points to the actual media content.
*
* @name jibo.kb.media.MediaNode#url
* @type {String}
*/
/** Get the content ID of the thumbnail for this media item.
* @method jibo.kb.media.MediaNode#getThumbnailId
* @param {jibo.media#ThumbnailType} [type=thumb_robot] Type of thumbnail.
* @returns {string} Content ID of the thumbnail, if any,
* `undefined` otherwise.
*/