gem.content. ContentStoreItem

new ContentStoreItem()

Extends

Methods

canDeleteContent() → {boolean}

Check if the content can be deleted

Returns:
Type: 
boolean

delete()

calls emscripten object destructor

Inherited From

deleteContent()

Delete content from local

download(storeProgressListener)

Download content item

Parameters:
NameTypeDescription
storeProgressListenergem.content.StoreProgressListener

getCountryCodes() → {vector.<string>}

Get Country Codes list

Returns:
Type: 
vector.<string>

getDownloadProgress() → {number}

Get Download Progress

Returns:
  • progress in percentage
Type: 
number

getImagePreview(bitmap) → {boolean}

Get Image Preview

Parameters:
NameTypeDescription
bitmapgem.core.BitmapContainer

Output bitmap

Returns:
Type: 
boolean

getName() → {string}

Get name of the content store item

Returns:
Type: 
string

getRawPointer() → {object}

Returns emscripten object

Returns:
Type: 
object

isCompleted() → {boolean}

Check if item is downloaded

Returns:
Type: 
boolean

isDeleted() → {boolean}

Check if emscripten object has been deleted

Inherited From
Returns:
Type: 
boolean

isDownloading() → {boolean}

Check if is downloading

Returns:
Type: 
boolean

isImagePreviewAvailable() → {boolean}

Check if image preview is available

Returns:
Type: 
boolean

isUpdatable() → {boolean}

Check if content is updatable

Returns:
Type: 
boolean