Skip to content

Titanium.Media.PreviewImageOptions

Options passed to Titanium.Media.previewImage.

Platforms: android

Properties #

error#

Type: Callback<PreviewImageError>

Function called back if the preview fails. Check the message property of passed back parameter.

image#

Type: Titanium.Blob

The image to preview. Must be a blob based on a file, such as from Titanium.Filesystem.File.read.

success#

Type: Callback<SuccessResponse>

Function to be called back if the preview succeeds. No info is passed.

Titanium SDK Documentation