Module

models/bookmark

Methods

# inner Bookmark(rawBookmark) → {Bookmark}

Bookmark Model

Parameters:
Name Type Description
rawBookmark Object

Bookmark

Bookmark

Bookmark

Type Definitions

Object

# Bookmark

For Movies and Episodes

Properties:
Name Type Description
id String

Bookmark item ID

title String

Bookmark title

type String

Bookmark type

assetType String

Bookmark type

description String

Bookmark type

category String

Bookmark category

categories String

Bookmark categories

progress number

Bookmark current progress

metadata String

Bookmark metadata

resumeTime number

Bookmark resume time

duration string

Media duration

videoUrl String

Array of the images of the Bookmark item

publishedDate number

Bookmark publishedDate

backgroundUrl String

Bookmark backgroundUrl

coverUrl String

Bookmark coverUrl -> The following properties is only applied for MOVIE

images Array.<Image>

Movie images

link String

Link to the movie details page

categoryId number

Movie category ID associated -> The following properties is only applied for EPISODE

episodes Array.<Episode> | undefined

Season episodes

episodeNumber number | undefined

Episode number

episodeTitle String | undefined

Episode title

seasons Array.<Season> | undefined

TVShow seasons of the current episode

seasonNumber number | undefined

Current season number

seasonId String | undefined

SeasonID of the current episode

showId String | undefined

TVShow id of the current episode

showTitle String | undefined

TVShow title of the current episode

tvShowDescription String | undefined

TVShow description of the current episode