Gets the image selected by the user or the image with the specified identifier.

<void> ImageCollection.getItem(<RequestImageCallback> callback, [<ErrorCallback> errorCallback], [<number> id])

Parameters

Parameter Description
callback Receives the requested image or null if there is no image at the current input position / with the specified identifier.
errorCallback Optional. Is called when the operation failed with an error.
id Optional. The image's identifier.