Skip to content

Titanium.Media.ThumbnailResponse

Simple object passed to the thumbnail callback in response to the requestThumbnailImagesAtTimes method.

The callback is invoked when a movie thumbnail is available.

Extends: ErrorResponse · Since: 3.6.0 · Platforms: android, iphone, ipad, macos

Properties #

code#

Type: Number

Error code. Returns 0 if success is true.

Error code will be 0 if success is true, nonzero otherwise. If the error
was generated by the operating system, that system's error value is used.
Otherwise, this value will be -1.

error#

extended

Type: String

Error message, if any returned.

Will be undefined if success is true.

image#

Type: Titanium.Blob

Thumbnail image, as a Blob.

success#

extended

Type: Boolean

Indicates if the operation succeeded.

Returns true if request succeeded, false otherwise.

time#

Type: Number

Time offset for the thumbnail, in seconds.

Titanium SDK Documentation